Alarmd seems to add an additional argument.
QWidget* window = new MainWindow;
// If we were started with the parameters confernceid and eventid, show the corresponding event (alarm)
QWidget* window = new MainWindow;
// If we were started with the parameters confernceid and eventid, show the corresponding event (alarm)
QString conferenceIdStr = argv[1];
QString eventIdStr = argv[2];
EventDialog dialog(conferenceIdStr.toInt(), eventIdStr.toInt(), window);
QString conferenceIdStr = argv[1];
QString eventIdStr = argv[2];
EventDialog dialog(conferenceIdStr.toInt(), eventIdStr.toInt(), window);