summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-08-13 18:51:06 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-08-13 18:51:06 (GMT)
commit6c23f43ec314ea196c8a42682f91467778a67e54 (patch)
treeead6455032123cc232aa092cc3a09bb58fd43760
parenta28902e9120798c67844864a11bbe3f1c2549b74 (diff)
Avoid asking the user a second time for confirmation of closing an active tab
-rw-r--r--src/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 9107939..6f56014 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -581,7 +581,7 @@ bool MainWindow::queryClose()
case KMessageBox::No:
if (_pluggedController && _pluggedController->session()) {
disconnectController(_pluggedController);
- _pluggedController->closeSession();
+ _pluggedController->session()->closeInNormalWay();
}
return false;
case KMessageBox::Cancel: