summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 13:32:16 +0100
committerJonathan Bauer2011-03-08 13:32:16 +0100
commit4901d9e5982be1981a980e2bea72b76075415516 (patch)
tree5c9cfb10f47b104849e420041cecd24ef0adc6fc /src/main.cpp
parentremoved debug stuff, room for improvement for setting/parsing dir name... (diff)
downloadfbgui-4901d9e5982be1981a980e2bea72b76075415516.tar.gz
fbgui-4901d9e5982be1981a980e2bea72b76075415516.tar.xz
fbgui-4901d9e5982be1981a980e2bea72b76075415516.zip
gui quit fix.
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();
}