diff options
| author | Jonathan Bauer | 2011-03-08 13:32:16 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-08 13:32:16 +0100 |
| commit | 4901d9e5982be1981a980e2bea72b76075415516 (patch) | |
| tree | 5c9cfb10f47b104849e420041cecd24ef0adc6fc /src/fbgui.cpp | |
| parent | removed debug stuff, room for improvement for setting/parsing dir name... (diff) | |
| download | fbgui-4901d9e5982be1981a980e2bea72b76075415516.tar.gz fbgui-4901d9e5982be1981a980e2bea72b76075415516.tar.xz fbgui-4901d9e5982be1981a980e2bea72b76075415516.zip | |
gui quit fix.
Diffstat (limited to 'src/fbgui.cpp')
| -rw-r--r-- | src/fbgui.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp index 6673d22..0a99393 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -16,6 +16,7 @@ bool debug = false; fbgui::fbgui(QApplication *parent) { + setAttribute(Qt::WA_QuitOnClose, true); qDebug() << "Application dir path: " << QApplication::applicationDirPath(); /* Browser init. */ QWebView* webView = new QWebView(this); @@ -38,6 +39,9 @@ fbgui::fbgui(QApplication *parent) setCentralWidget(webView); } + void fbgui::quit(){ - this->close(); + qDebug() << "fbgui::quit() call"; + } + |
