summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickdialog.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-02-26 15:48:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-28 14:44:37 +0100
commit258df8b2f5e693636436b68bd233bd2671a25ac4 (patch)
treeb3ccf971c0f224cd638dcb15c3722a7bc318fd90 /src/dialogs/qquickdialog.cpp
parent743e5ff9e37a7ea4b13c2620725c87a21e3b9975 (diff)
downloadqtquickcontrols-258df8b2f5e693636436b68bd233bd2671a25ac4.tar.gz
Dialogs: fix compiler warning
StandardButton is a 32-bit type again. Change-Id: I8aba4150cee169ef837891e9d72a64d48db32346 Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/dialogs/qquickdialog.cpp')
-rw-r--r--src/dialogs/qquickdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/qquickdialog.cpp b/src/dialogs/qquickdialog.cpp
index 2af1bdc5..b7eefcc4 100644
--- a/src/dialogs/qquickdialog.cpp
+++ b/src/dialogs/qquickdialog.cpp
@@ -212,7 +212,7 @@ void QQuickDialog::click(QPlatformDialogHelper::StandardButton button, QPlatform
emit reset();
break;
default:
- qWarning("unhandled MessageDialog button %d with role %ld", button, role);
+ qWarning("unhandled MessageDialog button %d with role %d", (int)button, (int)role);
}
}