aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-10-02 05:20:41 -0400
committerKen Moore <ken@ixsystems.com>2017-10-02 05:20:41 -0400
commit63269d970b014f2475a6906a1afeba8d7920e16e (patch)
treea2f44f3707594af74f82d9d04414a1eaa6d7711e /src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
parentAdd a "copy" button to the QSS page for copying files to make changes. (diff)
downloadlumina-63269d970b014f2475a6906a1afeba8d7920e16e.tar.gz
lumina-63269d970b014f2475a6906a1afeba8d7920e16e.tar.bz2
lumina-63269d970b014f2475a6906a1afeba8d7920e16e.zip
Remove the "ok" button, and change the "cancel" button to "close".
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
index d4544c7b..28a5e558 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
@@ -55,7 +55,7 @@ void MainWindow::on_buttonBox_clicked(QAbstractButton *button){
if(p) { p->writeSettings(); }
}
}
- if(id == QDialogButtonBox::Ok || id == QDialogButtonBox::Cancel){
+ if(id == QDialogButtonBox::Ok || id == QDialogButtonBox::Cancel || id== QDialogButtonBox::Close){
close();
qApp->quit();
}
bgstack15