X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/445f0b64bdd34e39f0565ef870937ebd3d5dfa61..dc3e19744dedef4b185eb0becb00a28c74381c4c:/src/viewproperties.cpp diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp index 9316a6d5a..24573c1c9 100644 --- a/src/viewproperties.cpp +++ b/src/viewproperties.cpp @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ #include @@ -23,10 +23,11 @@ #include #include +#include #include #include #include -#include +#include #include "viewproperties.h" #include "dolphinsettings.h" @@ -178,7 +179,7 @@ void ViewProperties::save() QString ViewProperties::destinationDir(const QString& subDir) const { - QString basePath = KGlobal::instance()->instanceName(); + QString basePath = KGlobal::mainComponent().componentName(); basePath.append("/view_properties/").append(subDir); return KStandardDirs::locateLocal("data", basePath); }