┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorRoman Inflianskas <[email protected]>2018-03-03 20:39:43 +0300
committerRoman Inflianskas <[email protected]>2018-03-04 10:27:31 +0300
commit533f050855a50212bba7be57a1590f9ce743e26d (patch)
tree9bcbfe8f2814393b39b91a35a28ce8e9c729fe2f /src/dolphinmainwindow.cpp
parent848abc5922167a467bb73107ee6b72e9af3c8317 (diff)
Fix some compile warnings
Reviewers: #dolphin, markg Reviewed By: markg Subscribers: elvisangelaccio, #dolphin Differential Revision: https://phabricator.kde.org/D10995
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 48e67733d..abde14cdd 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -411,6 +411,8 @@ void DolphinMainWindow::closeEvent(QCloseEvent* event)
case QDialogButtonBox::No:
// Close only the current tab
m_tabWidget->closeTab();
+ // Do not quit, ignore quit event
+ // fall through
default:
event->ignore();
return;