aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/mainUI.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-20 13:38:38 -0400
committerKen Moore <moorekou@gmail.com>2016-06-20 13:38:38 -0400
commit7f92e574ec375bb323808f69afbab91351971f9b (patch)
treed1b69fd1e6fbc6054f2903d4aaf01847796ef6f0 /src-qt5/core-utils/lumina-config/mainUI.cpp
parentUpdate the README a bit. (diff)
downloadlumina-7f92e574ec375bb323808f69afbab91351971f9b.tar.gz
lumina-7f92e574ec375bb323808f69afbab91351971f9b.tar.bz2
lumina-7f92e574ec375bb323808f69afbab91351971f9b.zip
Fix where localization files get installed via the main source tree (accounts for the change to SHARE/lumina-desktop rather than SHARE/Lumina-DE).
Also fix the wallpaper dir detection routine within lumina-config (same issue - install dir change broke the path detection).
Diffstat (limited to 'src-qt5/core-utils/lumina-config/mainUI.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/mainUI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/core-utils/lumina-config/mainUI.cpp b/src-qt5/core-utils/lumina-config/mainUI.cpp
index 4bb07c9a..36e45a9e 100644
--- a/src-qt5/core-utils/lumina-config/mainUI.cpp
+++ b/src-qt5/core-utils/lumina-config/mainUI.cpp
@@ -711,7 +711,7 @@ void MainUI::deskbgremoved(){
void MainUI::deskbgadded(){
//Prompt the user to find an image file to use for a background
- QString dir = LOS::LuminaShare().section("/Lumina-DE",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
qDebug() << "Looking for wallpaper dir:" << dir;
if( !QFile::exists(dir) ){ dir = QDir::homePath(); }
QStringList imgs = LUtils::imageExtensions();
@@ -746,7 +746,7 @@ void MainUI::deskbgcoloradded(){
void MainUI::deskbgdiradded(){
//Add the files from a single directory
- QString dir = LOS::LuminaShare().section("/Lumina-DE",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
qDebug() << "Looking for wallpaper dir:" << dir;
if( !QFile::exists(dir) ){ dir = QDir::homePath(); }
dir = QFileDialog::getExistingDirectory(this, tr("Find Background Image Directory"), dir, QFileDialog::ReadOnly);
@@ -772,7 +772,7 @@ void MainUI::deskbgdiradded(){
void MainUI::deskbgdirradded(){
//Recursively add files from a directory
- QString dir = LOS::LuminaShare().section("/Lumina-DE",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
qDebug() << "Looking for wallpaper dir:" << dir;
if( !QFile::exists(dir) ){ dir = QDir::homePath(); }
dir = QFileDialog::getExistingDirectory(this, tr("Find Background Image Directory"), dir, QFileDialog::ReadOnly);
bgstack15