From 7e39df7521a19baae35c7ae3415630624f990865 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 27 Feb 2017 11:01:08 -0500 Subject: Silence a compile warning in LDesktopUtils (unused variable) --- src-qt5/core/libLumina/LDesktopUtils.cpp | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/src-qt5/core/libLumina/LDesktopUtils.cpp b/src-qt5/core/libLumina/LDesktopUtils.cpp index d6673ecd..575ae5a1 100644 --- a/src-qt5/core/libLumina/LDesktopUtils.cpp +++ b/src-qt5/core/libLumina/LDesktopUtils.cpp @@ -134,32 +134,9 @@ void LDesktopUtils::removeFavorite(QString path){ if(changed){ LDesktopUtils::saveFavorites(fav); } } -void LDesktopUtils::upgradeFavorites(int fromoldversionnumber){ - /*if(fromoldversionnumber <= 8004){ // < pre-0.8.4>, sym-links in the ~/.lumina/favorites dir} - //Include 0.8.4-devel versions in this upgrade (need to distinguish b/w devel and release versions later somehow) - QDir favdir(QDir::homePath()+"/.lumina/favorites"); - QFileInfoList symlinks = favdir.entryInfoList(QDir::Files | QDir::Dirs | QDir::System | QDir::NoDotAndDotDot); - QStringList favfile = LDesktopUtils::listFavorites(); //just in case some already exist - bool newentry = false; - for(int i=0; i*1000000 + *1000 + + // Example: 1.2.3 -> 1002003 } void LDesktopUtils::LoadSystemDefaults(bool skipOS){ -- cgit