Commit c16ea6da authored by David Faure's avatar David Faure

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.

NO_CHANGELOG
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,
QStringLiteral("pin-code-database.xml"));
QFile file(xmlPath);
......
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