summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bd7abb7..b05c1e3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -98,6 +98,7 @@ int main(int argc, char *argv[])
if (debug) qDebug() << "Downloads will be saved to: " << downloadPath;
// Start fbgui.
fbgui gui(&app);
+ gui.setAttribute(Qt::WA_QuitOnClose, true);
gui.show();
return app.exec();
}