Fixed Bug #20 (Handle Numeric Reply 433 ERR_NICKNAMEINUSE properly)
[quassel.git] / main / main_mono.cpp
index 584c220..87360c6 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...
 }