[Marble-commits] KDE/kdeedu/marble/src/lib
Thibaut Gridel
tgridel at free.fr
Sun Sep 13 17:45:10 CEST 2009
SVN commit 1022939 by tgridel:
fix cache file path
M +2 -2 FileLoader.cpp
--- trunk/KDE/kdeedu/marble/src/lib/FileLoader.cpp #1022938:1022939
@@ -67,13 +67,13 @@
if ( fileinfo.isAbsolute() ) {
// We got an _absolute_ path now: e.g. "/patrick.kml"
- defaultcachename = path + name + ".cache";
+ defaultcachename = path + '/' + name + ".cache";
defaultsrcname = path + '/' + name + '.' + suffix;
}
else {
if ( m_filepath.contains( '/' ) ) {
// _relative_ path: "maps/mars/viking/patrick.kml"
- defaultcachename = MarbleDirs::path( path + name + ".cache" );
+ defaultcachename = MarbleDirs::path( path + '/' + name + ".cache" );
defaultsrcname = MarbleDirs::path( path + '/' + name + '.' + suffix);
}
else {
More information about the Marble-commits
mailing list