1
0
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:
Kilian Lackhove 2012-09-12 16:16:08 +02:00
parent a84b5024f6
commit 20fd231e54
2 changed files with 3 additions and 10 deletions

View File

@ -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() ) )
{

View File

@ -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" );
}