From 99b8089bd11baeb17030f1f0260a83b4f2d1fe0f Mon Sep 17 00:00:00 2001 From: Kjell Tore Ullavik Date: Wed, 6 Dec 2017 11:23:44 +0100 Subject: Style consistency. --- src-qt5/desktop-utils/lumina-textedit/MainUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-textedit') diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp index 2fe54ac9..780483f7 100644 --- a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp @@ -529,7 +529,8 @@ void MainUI::closeEvent(QCloseEvent *ev){ this, tr("Save Changes before closing?"), QString(tr("There are unsaved changes.\nDo you want save them before you close the editor?\n\n%1")).arg(unsaved.join("\n")), - QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, QMessageBox::No); + QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, + QMessageBox::No); if(but == QMessageBox::Cancel){ ev->ignore(); -- cgit