parent
7da3b3c8c9
commit
d97467ee63
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ bool ServiceItemModel::load(QUrl file) {
|
||||||
qDebug() << "File path is: " << file.toString();
|
qDebug() << "File path is: " << file.toString();
|
||||||
qDebug() << "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@";
|
qDebug() << "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@";
|
||||||
|
|
||||||
if (file.isEmpty() && !file.isValid())
|
if (file.isEmpty() || !file.isValid())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
QString fileUrl = file.toString().right(file.toString().size() - 7);
|
QString fileUrl = file.toString().right(file.toString().size() - 7);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue