mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:06:08 +00:00
UI Minor fixes.
This commit is contained in:
parent
49527d617f
commit
1a5b928bd2
@ -245,7 +245,6 @@ void FortManager::setupAppInfoCache()
|
||||
dbPath = ":memory:";
|
||||
} else {
|
||||
const QString cachePath = settings()->cachePath();
|
||||
FileUtil::makePath(cachePath);
|
||||
dbPath = cachePath + "/appinfocache.db";
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user