Commit 6885f97f authored by Alvin Wong's avatar Alvin Wong

Fix wrong dialog being used with Touch Docker

This kinds of proves that nobody actually use the Touch Docker.
parent 471ea1b1
......@@ -313,10 +313,10 @@ void TouchDockerDock::showFileOpenDialog()
void TouchDockerDock::showFileSaveAsDialog()
{
if (!d->openDialog) {
d->openDialog = createDialog("qrc:/saveasdialog.qml");
if (!d->saveAsDialog) {
d->saveAsDialog = createDialog("qrc:/saveasdialog.qml");
}
d->openDialog->exec();
d->saveAsDialog->exec();
}
void TouchDockerDock::changeEvent(QEvent *event)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment