Fixes for phonon

This commit is contained in:
David Sansome 2010-02-21 21:45:50 +00:00
parent 0ba179f54f
commit c16288874d
2 changed files with 3 additions and 4 deletions

View File

@ -25,9 +25,7 @@ void SongPlaylistItem::Restore(const QSettings& settings) {
} }
QUrl SongPlaylistItem::Url() { QUrl SongPlaylistItem::Url() {
QUrl ret(QUrl::fromLocalFile(song_.filename())); return QUrl::fromLocalFile(song_.filename());
ret.setHost("localhost");
return ret;
} }
void SongPlaylistItem::Reload() { void SongPlaylistItem::Reload() {

View File

@ -187,7 +187,8 @@ unix:!fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile
win32|fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win.cpp win32|fedora-win32-cross:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win.cpp
# Hide the console on windows # Hide the console on windows
win32|fedora-win32-cross:LIBS += -Wl,-subsystem,windows #win32|fedora-win32-cross:LIBS += -Wl,-subsystem,windows
CONFIG += console
# Installs # Installs
target.path = $${install_prefix}/bin/ target.path = $${install_prefix}/bin/