From c16288874d76b08bddaa51c717027c7a13c99c50 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 21 Feb 2010 21:45:50 +0000 Subject: [PATCH] Fixes for phonon --- src/songplaylistitem.cpp | 4 +--- src/src.pro | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) 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/