diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-10-26 07:36:27 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-10-26 07:36:27 (GMT) |
commit | 8881a5b0756a8960a2fbbb5d5f476ff1d7505446 (patch) | |
tree | 9d197fc593fcdc9cc78dbf9e2905a20221b5205c /tools/qmlviewer/qmlviewer.h | |
parent | 883dc50950e6109d0cfb7a42e144d529076b9be3 (diff) | |
download | Qt-8881a5b0756a8960a2fbbb5d5f476ff1d7505446.zip Qt-8881a5b0756a8960a2fbbb5d5f476ff1d7505446.tar.gz Qt-8881a5b0756a8960a2fbbb5d5f476ff1d7505446.tar.bz2 |
Fix for windows paths.
(i.e. nb. "\")
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r-- | tools/qmlviewer/qmlviewer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h index 50495db..e1f53f9 100644 --- a/tools/qmlviewer/qmlviewer.h +++ b/tools/qmlviewer/qmlviewer.h @@ -63,7 +63,7 @@ public: public slots: void sceneResized(QSize size); - void openQml(const QUrl&); + void openQml(const QString&); void open(); void reload(); void takeSnapShot(); @@ -97,6 +97,7 @@ private: PreviewDeviceSkin *skin; QSize skinscreensize; QmlView *canvas; + QString currentFileOrUrl; QmlTimer recordTimer; QString frame_fmt; QImage frame; |