summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-06 17:25:02 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-06 17:25:02 +0200
commit1bacde5dad64dd39eea32f16516172b12bcfd9b8 (patch)
tree201f1d1f54661d83da332cb2287c82e2f656698d /src
parentPut over localhost browse results (diff)
downloadrekonq-1bacde5dad64dd39eea32f16516172b12bcfd9b8.tar.xz
This should fix bug 240432
Thanks, pano :) CCBUG: 240432
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 805f3d45..90a650cf 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1373,6 +1373,10 @@ void MainWindow::enableNetworkAnalysis(bool b)
bool MainWindow::queryClose()
{
+ // this should fux bug 240432
+ if(Application::instance()->sessionSaving())
+ return true;
+
if (m_view->count() > 1)
{
int answer = KMessageBox::questionYesNoCancel(