Changeset 4d8493b for src/app/main.cpp
- Timestamp:
- 05/28/13 20:23:49 (10 years ago)
- Branches:
- master, qt5
- Children:
- 955f76e
- Parents:
- 5130dc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/app/main.cpp
r5130dc7 r4d8493b 39 39 QCoreApplication::setApplicationVersion(VERSION); 40 40 41 QWidget* window = new MainWindow;41 MainWindow window; 42 42 43 43 // If we were started with the parameters confernceid and eventid, show the corresponding event (alarm) … … 45 45 QString conferenceIdStr = argv[1]; 46 46 QString eventIdStr = argv[2]; 47 EventDialog dialog(conferenceIdStr.toInt(), eventIdStr.toInt(), window);47 EventDialog dialog(conferenceIdStr.toInt(), eventIdStr.toInt(), &window); 48 48 dialog.exec(); 49 49 } 50 window ->show();50 window.show(); 51 51 52 52 return a.exec();
Note: See TracChangeset
for help on using the changeset viewer.