Skip to content

Commit

Permalink
Update qmlpreviewer_stub.h API
Browse files Browse the repository at this point in the history
  • Loading branch information
dragly committed Mar 15, 2017
1 parent 6cf4ca1 commit 75482a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qmlpreviewer_stub.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ public slots:
void reload(QString path) {
Q_UNUSED(path)
}
void show() {
qFatal("Preview not supported on Android / iOS");
bool show() {
return true;
}
void exect() {
return qFatal("Preview not supported on Android / iOS");
}
void handleDialogStart(QVariant qrcPaths, QUrl filePath) {
Q_UNUSED(qrcPaths)
Expand Down

0 comments on commit 75482a3

Please sign in to comment.