diff --git a/src/songplaylistitem.cpp b/src/songplaylistitem.cpp index bf67e953e..285e7dd65 100644 --- a/src/songplaylistitem.cpp +++ b/src/songplaylistitem.cpp @@ -25,9 +25,7 @@ void SongPlaylistItem::Restore(const QSettings& settings) { } QUrl SongPlaylistItem::Url() { - QUrl ret(QUrl::fromLocalFile(song_.filename())); - ret.setHost("localhost"); - return ret; + return QUrl::fromLocalFile(song_.filename()); } void SongPlaylistItem::Reload() { diff --git a/src/src.pro b/src/src.pro index 6fb1787f8..aeca0da49 100644 --- a/src/src.pro +++ b/src/src.pro @@ -187,7 +187,8 @@ unix:!fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile win32|fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win.cpp # Hide the console on windows -win32|fedora-win32-cross:LIBS += -Wl,-subsystem,windows +#win32|fedora-win32-cross:LIBS += -Wl,-subsystem,windows +CONFIG += console # Installs target.path = $${install_prefix}/bin/