diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-07 20:37:50 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-07 20:37:50 -0400 |
commit | f4ed12f28bd437fbe4907b6f473687fc3d418307 (patch) | |
tree | 9c63b6dcb256dda222598ba35cef9722267ed10e /src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | |
parent | Add a new backend function to LUtils for opening a QSettings file. (diff) | |
download | lumina-f4ed12f28bd437fbe4907b6f473687fc3d418307.tar.gz lumina-f4ed12f28bd437fbe4907b6f473687fc3d418307.tar.bz2 lumina-f4ed12f28bd437fbe4907b6f473687fc3d418307.zip |
Make all the desktop utilities use the new LUtils::openSettings() function so they can be launched as the root user without clobbering the user-permissioned settings file.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp index ad5fc833..cf7a41cb 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp @@ -20,7 +20,7 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI()){ ui->setupUi(this); - SETTINGS = new QSettings("lumina-desktop","lumina-mediaplayer"); + SETTINGS = LUtils::openSettings("lumina-desktop","lumina-mediaplayer",this); closing = false; DISABLE_VIDEO = true; //add a toggle in the UI for this later //Any special UI changes |