Use QUrl for file paths
This commit is contained in:
parent
3b9085545b
commit
90526946e6
2 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ public:
|
|||
QString name() const;
|
||||
QString version() const;
|
||||
bool loaded() const;
|
||||
Q_INVOKABLE bool load(const QString &path);
|
||||
Q_INVOKABLE bool load(const QUrl &path);
|
||||
QImage backgroundMap(int index) const;
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue