From a60a299286330df4c8f6a3f38b8271187a34dcff Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 8 Jul 2015 12:37:10 -0400 Subject: Fix up the loading of luminaDesfaults.conf quite a bit (now it works properly/consistently for the new favorites/theme config options). --- libLumina/LuminaUtils.cpp | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'libLumina/LuminaUtils.cpp') diff --git a/libLumina/LuminaUtils.cpp b/libLumina/LuminaUtils.cpp index c3f01c8f..2533e25c 100644 --- a/libLumina/LuminaUtils.cpp +++ b/libLumina/LuminaUtils.cpp @@ -19,6 +19,7 @@ #include #include +static QStringList fav; //============= // LUtils Functions //============= @@ -198,7 +199,6 @@ QString LUtils::findQuickPluginFile(QString ID){ } QStringList LUtils::listFavorites(){ - static QStringList fav; static QDateTime lastRead; QDateTime cur = QDateTime::currentDateTime(); if(lastRead.isNull() || lastRead