reactivated KDE4 plugin

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@178 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
tarek_saidi
2008-03-11 13:56:07 +00:00
parent 317397e063
commit ed3baff013
5 changed files with 59 additions and 49 deletions

View File

@@ -144,8 +144,7 @@ const QIcon& getIcon(const QString& name){
if(CachedIcon)
return *CachedIcon;
QIcon* NewIcon=NULL;
//TODO plugins
/*if(IconLoader){
if(IconLoader){
NewIcon=new QIcon(IconLoader->getIcon(name));
if(NewIcon->isNull()){
delete NewIcon;
@@ -153,7 +152,7 @@ const QIcon& getIcon(const QString& name){
}
else
IconCache.insert(name,NewIcon);
}*/
}
if(!NewIcon)
{
NewIcon=new QIcon(getImageFile(name+".png"));