bugfix
This commit is contained in:
parent
12d3c68df3
commit
f558e1420a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue