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 ret(QUrl::fromLocalFile(song_.filename()));
ret.setHost("localhost");
return ret;
return QUrl::fromLocalFile(song_.filename());
}
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
# 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/