summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-05-17 15:30:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-22 09:32:52 +0200
commit32f95d57a52fc31170028f590a7ca97162d0c889 (patch)
treef91cfbc4f9fc7378dd6d161c7151d4801a17efa8
parentd49993eeaebf305961f1e75b1b7edb4034435037 (diff)
downloadqttools-32f95d57a52fc31170028f590a7ca97162d0c889.tar.gz
Fix gcc warning about unused code
Change-Id: I88bef60bb272319229a92481deec4ac9de9a0547 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r--src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp b/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp
index 31ecda035..4c08dcefc 100644
--- a/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp
+++ b/src/designer/src/plugins/activeqt/qdesigneraxwidget.cpp
@@ -215,12 +215,16 @@ const QMetaObject *QDesignerAxPluginWidget::metaObject() const
return QDesignerAxWidget::metaObject();
}
+#ifndef QT_NO_EXCEPTIONS
+
static QString msgComException(const QObject *o, const QMetaObject::Call call, int index)
{
return QDesignerAxWidget::tr("A COM exception occurred when executing a meta call of type %1, index %2 of \"%3\".").
arg(call).arg(index).arg(o->objectName());
}
+#endif // QT_NO_EXCEPTIONS
+
int QDesignerAxPluginWidget::qt_metacall(QMetaObject::Call call, int signal, void **argv)
{
QAxWidget *aw = axobject();