diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-02 05:20:41 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-02 05:20:41 -0400 |
commit | 63269d970b014f2475a6906a1afeba8d7920e16e (patch) | |
tree | a2f44f3707594af74f82d9d04414a1eaa6d7711e /src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp | |
parent | Add a "copy" button to the QSS page for copying files to make changes. (diff) | |
download | lumina-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.cpp | 2 |
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(); } |