Fix the wrong KGuiItem in the confirmation dialog for closing window

That dialog is only about closing one Konsole window , so it should use
KStandardGuiItem::closeWindow() instead of KStandardGuiItem::quit(),
which is for quitting the whole application.
This commit is contained in:
Jekyll Wu
2012-06-15 07:27:03 +08:00
parent bbcc5b30ae
commit dd440409cf

View File

@@ -530,7 +530,7 @@ bool MainWindow::queryClose()
"There are %1 tabs open in this window. "
"Do you still want to quit?", openTabs),
i18nc("@title", "Confirm Close"),
KStandardGuiItem::quit(),
KStandardGuiItem::closeWindow(),
KGuiItem(i18nc("@action:button", "Close Current Tab"), "tab-close"),
KStandardGuiItem::cancel(),
"CloseAllTabs");