- Timestamp:
- 05/28/13 20:23:49 (10 years ago)
- Branches:
- master, qt5
- Children:
- 955f76e
- Parents:
- 5130dc7
- Location:
- src
- Files:
-
- 3 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(); -
src/gui/mainwindow.cpp
r5130dc7 r4d8493b 128 128 129 129 130 MainWindow::~MainWindow() { 131 sqlEngine->close(); 132 } 133 134 130 135 void MainWindow::on_aboutAction_triggered() 131 136 { -
src/gui/mainwindow.h
r5130dc7 r4d8493b 36 36 public: 37 37 MainWindow(QWidget *parent = 0); 38 ~MainWindow(); 38 39 signals: 39 40 void conferenceRemoved();
Note: See TracChangeset
for help on using the changeset viewer.