mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 00:12:06 +02:00
dont use attica icons, just use the default one
This commit is contained in:
parent
a84b5024f6
commit
20fd231e54
@ -232,11 +232,8 @@ QtScriptResolver::QtScriptResolver( const QString& scriptPath )
|
||||
m_name = QFileInfo( filePath() ).baseName();
|
||||
|
||||
// set the icon, if we launch properly we'll get the icon the resolver reports
|
||||
QString iconPath = QFileInfo( filePath() ).path() + "/../images/icon.png";
|
||||
if ( !m_icon.load( iconPath ) )
|
||||
{
|
||||
m_icon = QPixmap( RESPATH "images/resolver-default.png" );
|
||||
}
|
||||
m_icon.load( RESPATH "images/resolver-default.png" );
|
||||
|
||||
|
||||
if ( !QFile::exists( filePath() ) )
|
||||
{
|
||||
|
@ -59,11 +59,7 @@ ScriptResolver::ScriptResolver(const QString& exe)
|
||||
m_name = QFileInfo( filePath() ).baseName();
|
||||
|
||||
// set the icon, if we launch properly we'll get the icon the resolver reports
|
||||
QString iconPath = QFileInfo( filePath() ).path() + "/../images/icon.png";
|
||||
if ( !m_icon.load( iconPath ) )
|
||||
{
|
||||
m_icon = QPixmap( RESPATH "images/resolver-default.png" );
|
||||
}
|
||||
m_icon.load( RESPATH "images/resolver-default.png" );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user