aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-01-03 08:30:09 -0500
committerKen Moore <ken@ixsystems.com>2018-01-03 08:30:09 -0500
commite288a9d60e8325779690d5157cf47db66b156a71 (patch)
treee2a84a83547b0d2ab25c0f81092304fe2890821d /src-qt5/core-utils/lumina-config/pages
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-e288a9d60e8325779690d5157cf47db66b156a71.tar.gz
lumina-e288a9d60e8325779690d5157cf47db66b156a71.tar.bz2
lumina-e288a9d60e8325779690d5157cf47db66b156a71.zip
Fix up the default wallpaper directory detection (old Lumina-DE dir is not longer used)
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_wallpaper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_wallpaper.cpp b/src-qt5/core-utils/lumina-config/pages/page_wallpaper.cpp
index aef0493f..c2737084 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_wallpaper.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_wallpaper.cpp
@@ -209,7 +209,7 @@ void page_wallpaper::deskbgremoved(){
void page_wallpaper::deskbgadded(){
//Prompt the user to find an image file to use for a background
- QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers";
qDebug() << "Looking for wallpaper dir:" << dir;
if( !QFile::exists(dir) ){ dir = QDir::homePath(); }
QStringList imgs = LUtils::imageExtensions();
@@ -242,7 +242,7 @@ void page_wallpaper::deskbgcoloradded(){
void page_wallpaper::deskbgdiradded(){
//Add the files from a single directory
- QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers";
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);
@@ -260,7 +260,7 @@ void page_wallpaper::deskbgdiradded(){
void page_wallpaper::deskbgdirradded(){
//Recursively add files from a directory
- QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers/Lumina-DE";
+ QString dir = LOS::LuminaShare().section("/lumina-desktop",0,0)+"/wallpapers";
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