added 'Conference' tab - to list conference details
[toast/confclerk.git] / src / gui / eventdialog.cpp
index 74d170c80eb9b791e73984f949b4d423d39d4d6f..df67695185957e79792ae397f0c7f9c1f895dcfe 100644 (file)
@@ -1,4 +1,5 @@
 #include "eventdialog.h"
+#include <appsettings.h>
 
 #include <QScrollBar>
 
@@ -12,8 +13,7 @@ EventDialog::EventDialog(const int &aEventId, QWidget *aParent)
     showFullScreen();
 #endif
 
-    const int confId = 1;
-    Event event = Event::getById(aEventId,confId);
+    Event event = Event::getById(aEventId,AppSettings::confId());
 
     //abstract->setStyleSheet("background-color : transparent;");
     //description->setStyleSheet("background-color : transparent;");