mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 09:50:12 +00:00
Set Notify flag on close running terminal app prompt
Ensures the warning sound is played.
This commit is contained in:
parent
907981387c
commit
fc6fa9ba98
|
@ -629,7 +629,7 @@ void DolphinMainWindow::closeEvent(QCloseEvent *event)
|
||||||
QStringList(),
|
QStringList(),
|
||||||
i18n("Do not ask again"),
|
i18n("Do not ask again"),
|
||||||
&doNotAskAgainCheckboxResult,
|
&doNotAskAgainCheckboxResult,
|
||||||
KMessageBox::Dangerous);
|
KMessageBox::Notify | KMessageBox::Dangerous);
|
||||||
|
|
||||||
if (doNotAskAgainCheckboxResult) {
|
if (doNotAskAgainCheckboxResult) {
|
||||||
GeneralSettings::setConfirmClosingTerminalRunningProgram(false);
|
GeneralSettings::setConfirmClosingTerminalRunningProgram(false);
|
||||||
|
|
Loading…
Reference in a new issue