1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-29 12:39:28 +01: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 )
{
QDesktopServices::openUrl( DownloadJob::localPath( m_query->track()->albumPtr() ) );
QDesktopServices::openUrl( QUrl::fromLocalFile( DownloadJob::localPath( m_query->track()->albumPtr() ) ) );
}
else
{