mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-07 16:27:25 -04:00
portable: use portable storage folder to store QML disk cache
This commit is contained in:
@@ -179,13 +179,13 @@ bool MoneroSettings::portable() const
|
||||
return this->m_settings && this->m_settings->fileName() == portableFilePath();
|
||||
}
|
||||
|
||||
bool MoneroSettings::portableConfigExists() const
|
||||
bool MoneroSettings::portableConfigExists()
|
||||
{
|
||||
QFileInfo info(portableFilePath());
|
||||
return info.exists() && info.isFile();
|
||||
}
|
||||
|
||||
QString MoneroSettings::portableFilePath() const
|
||||
QString MoneroSettings::portableFilePath()
|
||||
{
|
||||
static QString filename(QDir(portableFolderName()).absoluteFilePath("settings.ini"));
|
||||
return filename;
|
||||
|
||||
Reference in New Issue
Block a user