This commit is contained in:
Patrick von Reth 2011-07-23 18:17:07 +02:00
parent 12d3c68df3
commit f558e1420a
1 changed files with 6 additions and 4 deletions

View File

@ -39,12 +39,14 @@ public:
{}
SnoreIconData(const QString &url){
if(QFile(url).exists()){
_isLocalFile = true;
_localFileName = url;
}else if(url.startsWith(":/")){
if(url.startsWith(":/")){
qDebug()<<url<<"is resource";
_img = QImage(url);
_isLocalFile = false;
}else if(QFile(url).exists()){
qDebug()<<url<<"is local File icon";
_isLocalFile = true;
_localFileName = url;
}
}
~SnoreIconData()