Added some comments, removed and added some debug information.
[toast/confclerk.git] / src / gui / mainwindow.cpp
index 2cee85c..c695299 100644 (file)
@@ -95,9 +95,10 @@ MainWindow::MainWindow(int aEventId, QWidget *aParent)
     useConference(Conference::activeConference());
     // optimization, see useConference() code
     try {
-       initTabs();
-    } catch (OrmException) {
-       clearTabs();
+        initTabs();
+    } catch (const OrmException& e) {
+        qDebug() << "OrmException:" << e.text();
+        clearTabs();
     }
 
     // TODO: open conferences at startup?