equal
deleted
inserted
replaced
33 return 1; |
33 return 1; |
34 } |
34 } |
35 |
35 |
36 MainWindow window(engine); |
36 MainWindow window(engine); |
37 window.show(); |
37 window.show(); |
38 // TODO: functionality broken |
38 |
39 /* |
|
40 DataPopup dataPopup(engine); |
39 DataPopup dataPopup(engine); |
41 |
40 |
42 QObject::connect(&app, SIGNAL(foregroundEvent(bool)), |
41 QObject::connect(&app, SIGNAL(foregroundEvent(bool)), |
43 &dataPopup, SLOT(updateVisibility(bool))); |
42 &dataPopup, SLOT(updateVisibility(bool))); |
44 |
43 |
45 // TODO: pass false if run in background |
44 // TODO: pass false if run in background |
46 dataPopup.updateVisibility(true); |
45 dataPopup.updateVisibility(true); |
47 */ |
46 |
48 return app.exec(); |
47 return app.exec(); |
49 } |
48 } |