Commit 686e0f1d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile

parent 2de9b188
......@@ -412,7 +412,7 @@ void ProjectTab::openFile()
while (--i >= 0) {
if (Catalog::extIsSupported(files.at(i))) {
if (files.at(i).endsWith(QLatin1String(".pot")))
emit fileOpenRequested(Project::instance()->model()->potToPo(files.at(i)).toLocalFile(), true);
emit fileOpenRequested(Project::instance()->model()->potToPo(QUrl::fromLocalFile(files.at(i))).toLocalFile(), true);
else
emit fileOpenRequested(files.at(i), true);
}
......
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