From 97326ffdbf62009c3e2e6ae6734676c402372430 Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Sun, 16 Sep 2012 03:01:48 +0200 Subject: [PATCH] Fixed data-local directory handling in the launcher --- apps/launcher/datafilespage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index 64816fae56..69ed6defad 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -208,12 +208,10 @@ bool DataFilesPage::setupDataFiles() std::string local = variables["data-local"].as(); if (!local.empty()) { - mDataLocal.push_back(Files::PathContainer::value_type(local)); + mDataDirs.push_back(Files::PathContainer::value_type(local)); + mDataLocal.push_back(Files::PathContainer::value_type(local)); // For config writing } - if (mDataDirs.size()>1) - mDataDirs.resize (1); - mCfgMgr.processPaths(mDataDirs); while (mDataDirs.empty()) {