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