Commit a3443412 authored by Tomaz  Canabrava's avatar Tomaz Canabrava

Fix folder name

parent e45ab810
......@@ -45,7 +45,7 @@ void FirewallClient::createServiceFolders()
{
QString dataLocations = QStandardPaths::standardLocations(QStandardPaths::AppDataLocation)[0];
QDir dir;
if (!dir.mkpath(dataLocations + "/services")) {
if (!dir.mkpath(dataLocations + "/plasma-firewall/services")) {
qCDebug(FirewallClientDebug()) << "Could not create the services folder for the firewall";
}
}
......
......@@ -43,7 +43,7 @@ void ServicesModel::update()
beginResetModel();
m_services.clear();
QString dataLocations = QStandardPaths::standardLocations(QStandardPaths::AppDataLocation)[0];
QDir dir(dataLocations + "/services");
QDir dir(dataLocations + "/plasma-firewall/services");
for (QString fileName : dir.entryList({"*.xml"})) {
QFile service(dir.absoluteFilePath(fileName));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment