Commit c16ea6da authored by David Faure's avatar David Faure
Browse files

Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation

They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path.

parent ebdb6603
......@@ -46,7 +46,7 @@ QString WizardAgent::getPin(BluezQt::DevicePtr device)
m_pin = QString::number(KRandom::random());
m_pin = m_pin.left(6);
const QString &xmlPath = QStandardPaths::locate(QStandardPaths::DataLocation,
const QString &xmlPath = QStandardPaths::locate(QStandardPaths::AppDataLocation,
QFile file(xmlPath);
Supports Markdown
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