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:
parent
153c871bd2
commit
6079da1472
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user