mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Risk passing around a bad path to get meaningful errors.
This commit is contained in:
@@ -511,7 +511,7 @@ SettingsDialog::installFromFile()
|
|||||||
0,
|
0,
|
||||||
QFileDialog::ReadOnly );
|
QFileDialog::ReadOnly );
|
||||||
|
|
||||||
if ( !resolver.isEmpty() && QFileInfo( resolver ).exists() )
|
if ( !resolver.isEmpty() )
|
||||||
{
|
{
|
||||||
GlobalActionManager::instance()->installResolverFromFile( resolver );
|
GlobalActionManager::instance()->installResolverFromFile( resolver );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user