From f4ed12f28bd437fbe4907b6f473687fc3d418307 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 7 Jun 2017 20:37:50 -0400 Subject: 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. --- src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-mediaplayer') 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 -- cgit