Commit dbef583f authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

properly convert url to filename

parent 45d8a1cd
......@@ -600,7 +600,7 @@ private:
m_serverConfig = QJsonDocument::fromJson(defaultConfigFile.readAll()).object();
// consider specified configuration if existing
const auto &configPath = m_plugin->m_configPath.path();
const auto configPath = m_plugin->m_configPath.toLocalFile();
if (!configPath.isEmpty() && QFile::exists(configPath)) {
QFile f(configPath);
if (f.open(QIODevice::ReadOnly)) {
......
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