1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-08 03:52:42 +01:00

Fix project.json path not converting to localfile properly

This commit is contained in:
Dominik Louven 2020-03-27 15:01:42 +01:00
parent 153c871bd2
commit 6079da1472

View File

@ -49,10 +49,8 @@ void ScreenPlayManager::createWallpaper(
if (m_telemetry) {
m_telemetry->sendEvent("wallpaper", "start");
}
QString path = absoluteStoragePath;
if (absoluteStoragePath.contains("file:///"))
path = path.remove("file:///");
QString path = QUrl(absoluteStoragePath).toLocalFile();
std::sort(monitorIndex.begin(), monitorIndex.end());