Added the baseclass for the upcoming storage backends.
[quassel.git] / main / main_mono.cpp
index 584c220..e12ad2e 100644 (file)
@@ -38,8 +38,6 @@ int main(int argc, char **argv) {
   QApplication::setApplicationName("Quassel IRC");
   QApplication::setOrganizationName("The Quassel Team");
 
-  qRegisterMetaType<LayoutTask>("LayoutTask");
-
   Global::runMode = Global::Monolithic;
   Global::quasselDir = QDir::homePath() + "/.quassel";
 
@@ -66,7 +64,7 @@ int main(int argc, char **argv) {
 
 void MainWin::syncToCore() {
   Q_ASSERT(global->getData("CoreReady").toBool());
-  coreBackLog = core->getBackLog();
+  coreBuffers = core->getBuffers();
   // NOTE: We don't need to request server states, because in the monolithic version there can't be
   //       any servers connected at this stage...
 }
@@ -76,7 +74,7 @@ void CoreProxy::sendToGUI(CoreSignal sig, QVariant arg1, QVariant arg2, QVariant
 }
 
 GUIProxy::GUIProxy() {
-  if(guiProxy) qFatal("Trying to instantiate more than one CoreProxy object!");
+  if(guiProxy) qFatal("Trying to instantiate more than one GUIProxy object!");
 }
 
 void GUIProxy::send(GUISignal sig, QVariant arg1, QVariant arg2, QVariant arg3) {