summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-10-26 07:36:27 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-10-26 07:36:27 (GMT)
commit8881a5b0756a8960a2fbbb5d5f476ff1d7505446 (patch)
tree9d197fc593fcdc9cc78dbf9e2905a20221b5205c /tools/qmlviewer/qmlviewer.h
parent883dc50950e6109d0cfb7a42e144d529076b9be3 (diff)
downloadQt-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.h3
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;