UI Minor fixes.

This commit is contained in:
Nodir Temirkhodjaev 2020-01-08 18:46:09 +05:00
parent 49527d617f
commit 1a5b928bd2
3 changed files with 4 additions and 2 deletions

View File

@ -245,7 +245,6 @@ void FortManager::setupAppInfoCache()
dbPath = ":memory:";
} else {
const QString cachePath = settings()->cachePath();
FileUtil::makePath(cachePath);
dbPath = cachePath + "/appinfocache.db";
}

View File

@ -147,6 +147,10 @@ void FortSettings::setupIni()
FileUtil::makePath(profilePath());
FileUtil::makePath(statPath());
FileUtil::makePath(logsPath());
if (!noCache()) {
FileUtil::makePath(cachePath());
}
m_iniExists = FileUtil::fileExists(iniPath);
m_ini = new QSettings(iniPath, QSettings::IniFormat, this);

View File

@ -65,7 +65,6 @@ void Logger::setConsole(bool console)
void Logger::setPath(const QString &path)
{
m_dir.setPath(path);
m_dir.mkpath(".");
}
bool Logger::openLogFile()