|
|
|
@ -386,13 +386,13 @@ bool ConduitAction::openDatabases(const TQString &name, bool *retrieved)
|
|
|
|
|
TQFileInfo fi(dbpath);
|
|
|
|
|
TQString path(TQFileInfo(dbpath).dir(true).absPath());
|
|
|
|
|
if (!path.endsWith(CSL1("/"))) path.append(CSL1("/"));
|
|
|
|
|
if (!KStandardDirs::exists(path))
|
|
|
|
|
if (!TDEStandardDirs::exists(path))
|
|
|
|
|
{
|
|
|
|
|
DEBUGKPILOT << fname << ": Trying to create path for database: <"
|
|
|
|
|
<< path << ">" << endl;
|
|
|
|
|
KStandardDirs::makeDir(path);
|
|
|
|
|
TDEStandardDirs::makeDir(path);
|
|
|
|
|
}
|
|
|
|
|
if (!KStandardDirs::exists(path))
|
|
|
|
|
if (!TDEStandardDirs::exists(path))
|
|
|
|
|
{
|
|
|
|
|
DEBUGKPILOT << fname << ": Database directory does not exist." << endl;
|
|
|
|
|
if (retrieved) *retrieved = false;
|
|
|
|
|