Use QUrl for file paths

This commit is contained in:
Fabien Freling 2019-07-16 10:04:05 +02:00
parent 3b9085545b
commit 90526946e6
2 changed files with 8 additions and 8 deletions

View file

@ -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: