mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2026-10-22 04:45:37 +00:00
change temporary profile directory
This commit is contained in:
1 parent
f90b2d97a7
commit
709431ead2
2 files changed
+2
-1
No files matched your search
@@ -104,7 +104,7 @@ QString NetctlProfile::createProfile(const QString profile, const QMap<QString,
|
||||
if (debug) qDebug() << PDEBUG;
|
||||
if (debug) qDebug() << PDEBUG << ":" << "Profile" << profile;
|
||||
|
||||
QString profileTempName = QDir::homePath() + QString("/.cache/") + QFileInfo(profile).fileName();
|
||||
QString profileTempName = QDir::tempPath() + QDir::separator() + QFileInfo(profile).fileName();
|
||||
QFile profileFile(profileTempName);
|
||||
if (debug) qDebug() << PDEBUG << ":" << "Save to" << profileTempName;
|
||||
if (!profileFile.open(QIODevice::WriteOnly | QIODevice::Text))
|
||||
|
||||
Reference in new issue
Block a user