|
|
@ -42,7 +42,6 @@ namespace CalamaresUtils
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
static QDir s_appDataDir( CMAKE_INSTALL_FULL_DATADIR );
|
|
|
|
static QDir s_appDataDir( CMAKE_INSTALL_FULL_DATADIR );
|
|
|
|
static QDir s_qmlModulesDir( QString( CMAKE_INSTALL_FULL_DATADIR ) + "/qml" );
|
|
|
|
|
|
|
|
static bool s_isAppDataDirOverridden = false;
|
|
|
|
static bool s_isAppDataDirOverridden = false;
|
|
|
|
|
|
|
|
|
|
|
|
static bool s_haveExtraDirs = false;
|
|
|
|
static bool s_haveExtraDirs = false;
|
|
|
@ -79,13 +78,6 @@ isWritableDir( const QDir& dir )
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QDir
|
|
|
|
|
|
|
|
qmlModulesDir()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return s_qmlModulesDir;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
setAppDataDir( const QDir& dir )
|
|
|
|
setAppDataDir( const QDir& dir )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -200,11 +192,4 @@ appLogDir()
|
|
|
|
return QDir::temp();
|
|
|
|
return QDir::temp();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
|
|
setQmlModulesDir( const QDir& dir )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
s_qmlModulesDir = dir;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace CalamaresUtils
|
|
|
|
} // namespace CalamaresUtils
|
|
|
|