summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-04-05 12:51:49 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-20 13:29:49 (GMT)
commit714becf4c68f720096e305cf1160f696550ecbb2 (patch)
treea4f9b76c63d92b7f65941287968e382757510ff1 /tools
parent67b2f9a474d320bafa8cd21de129ef2cc138bebe (diff)
downloadQt-714becf4c68f720096e305cf1160f696550ecbb2.zip
Qt-714becf4c68f720096e305cf1160f696550ecbb2.tar.gz
Qt-714becf4c68f720096e305cf1160f696550ecbb2.tar.bz2
QUiLoader/Designer: Fix gcc 4.8 warnings about unused typedefs.
Change-Id: I792f3060c808ef860b31b47b3b00e5ac1991eedd Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com> (cherry picked from qttools/3455a96c6728873a3ba69585ebb27bf8e733c0f9)
Diffstat (limited to 'tools')
-rw-r--r--tools/designer/src/lib/uilib/abstractformbuilder.cpp2
-rw-r--r--tools/designer/src/uitools/quiloader.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/designer/src/lib/uilib/abstractformbuilder.cpp b/tools/designer/src/lib/uilib/abstractformbuilder.cpp
index 360ba15..6e5457c 100644
--- a/tools/designer/src/lib/uilib/abstractformbuilder.cpp
+++ b/tools/designer/src/lib/uilib/abstractformbuilder.cpp
@@ -1805,7 +1805,6 @@ DomResources *QAbstractFormBuilder::saveResources()
DomButtonGroups *QAbstractFormBuilder::saveButtonGroups(const QWidget *mainContainer)
{
// Save fst order buttongroup children of maincontainer
- typedef QList<QButtonGroup*> ButtonGroupList;
const QObjectList mchildren = mainContainer->children();
if (mchildren.empty())
return 0;
@@ -2666,7 +2665,6 @@ static QString buttonGroupName(const DomWidget *ui_widget)
void QAbstractFormBuilder::loadButtonExtraInfo(const DomWidget *ui_widget, QAbstractButton *button, QWidget *)
{
- typedef QFormBuilderExtra::ButtonGroupEntry ButtonGroupEntry;
typedef QFormBuilderExtra::ButtonGroupHash ButtonGroupHash;
const QString groupName = buttonGroupName(ui_widget);
diff --git a/tools/designer/src/uitools/quiloader.cpp b/tools/designer/src/uitools/quiloader.cpp
index 60c8d5e..f644185 100644
--- a/tools/designer/src/uitools/quiloader.cpp
+++ b/tools/designer/src/uitools/quiloader.cpp
@@ -409,8 +409,6 @@ static QString convertTranslatable(const DomProperty *p, const QByteArray &class
void FormBuilderPrivate::applyProperties(QObject *o, const QList<DomProperty*> &properties)
{
- typedef QList<DomProperty*> DomPropertyList;
-
QFormBuilder::applyProperties(o, properties);
if (!m_trwatch)