diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp index 442c3ea..13947fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,13 +7,8 @@ int main(int argc, char *argv[]) { app.setOrganizationName("OpenSLX"); app.setApplicationName("fbsplash"); - QMainWindow mw; - fbsplash bs(&mw); - - mw.setCentralWidget(&bs); - mw.setAttribute(Qt::WA_QuitOnClose, true); - mw.setWindowFlags(Qt::FramelessWindowHint); - mw.showFullScreen(); + fbsplash bs; + bs.showFullScreen(); app.exec(); } |