diff options
author | Jonathan Bauer | 2011-06-19 18:55:38 +0200 |
---|---|---|
committer | Jonathan Bauer | 2011-06-19 18:55:38 +0200 |
commit | 4144df4c66922a077f9d4d539aea56b105285306 (patch) | |
tree | c2a7e1159ab086e3a58ec49d64c6f2ce1708e2b0 /src/main.cpp | |
parent | new UI, old code cleanup (diff) | |
download | fbsplash-4144df4c66922a077f9d4d539aea56b105285306.tar.gz fbsplash-4144df4c66922a077f9d4d539aea56b105285306.tar.xz fbsplash-4144df4c66922a077f9d4d539aea56b105285306.zip |
simplified things
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(); } |