1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

Fix album folders not being opened correctly if the path contained whitespaces

This commit is contained in:
Dominik Schmidt
2016-04-02 12:47:27 +02:00
parent d45917d14a
commit 8749a04e23

View File

@@ -290,7 +290,7 @@ TrackDetailView::onBuyButtonClicked()
{ {
if ( m_allTracksAvailableLocally ) if ( m_allTracksAvailableLocally )
{ {
QDesktopServices::openUrl( DownloadJob::localPath( m_query->track()->albumPtr() ) ); QDesktopServices::openUrl( QUrl::fromLocalFile( DownloadJob::localPath( m_query->track()->albumPtr() ) ) );
} }
else else
{ {