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