aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/DesktopSettings.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
committerWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
commite823783499a7b2f8c3cbfb24ae428b39311bee5e (patch)
tree74138f1e34b8f090f62bd5412f38b8e185209302 /src-qt5/core/libLumina/DesktopSettings.cpp
parentTranslated using Weblate (Italian) (diff)
parentAdd the beginnings of the new window frame (widgets-based) (diff)
downloadlumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.gz
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.bz2
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/libLumina/DesktopSettings.cpp')
-rw-r--r--src-qt5/core/libLumina/DesktopSettings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/DesktopSettings.cpp b/src-qt5/core/libLumina/DesktopSettings.cpp
index f1c74bc5..509afa83 100644
--- a/src-qt5/core/libLumina/DesktopSettings.cpp
+++ b/src-qt5/core/libLumina/DesktopSettings.cpp
@@ -17,6 +17,7 @@
// === PUBLIC ===
DesktopSettings::DesktopSettings(QObject *parent) : QObject(parent){
+ qRegisterMetaType< DesktopSettings::File >("DesktopSettings::File");
watcher = 0;
runmode = DesktopSettings::UserFull;
}
@@ -275,6 +276,7 @@ QString DesktopSettings::rel_path(DesktopSettings::File file){
//=== PRIVATE SLOTS ===
void DesktopSettings::fileChanged(QString file){
+ //qDebug() << "Got File Changed:" << file;
//QFileSystemWatcher change detected
if(!watcher->files().contains(file)){
//Make sure this file stays watched for changes
@@ -287,6 +289,7 @@ void DesktopSettings::fileChanged(QString file){
QList< DesktopSettings::File > types = files.keys();
for(int i=0; i<types.length(); i++){
if(files[types[i]].contains(file)){
+ //qDebug() << "Emit File Type Changed:" << types[i];
emit FileModified(types[i]);
break;
}
bgstack15