summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
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;