From f562ee4402c957d66f4a5ae5b39cd2679d0c4b24 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 4 Jun 2019 10:11:24 +0200 Subject: Qt Designer: Replace 'typedef' by 'using' Apply Fixits by Qt Creator with some amendments (use Qt standard typedefs for QWidget/QObjectList and QOverload for slots). Change-Id: Icf0600d8e5381e83ae8037895c07a09d7e6b481a Reviewed-by: Jarek Kobus --- src/designer/src/lib/shared/qdesigner_promotiondialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/designer/src/lib/shared/qdesigner_promotiondialog.cpp') diff --git a/src/designer/src/lib/shared/qdesigner_promotiondialog.cpp b/src/designer/src/lib/shared/qdesigner_promotiondialog.cpp index 1467efbe3..7058b0c81 100644 --- a/src/designer/src/lib/shared/qdesigner_promotiondialog.cpp +++ b/src/designer/src/lib/shared/qdesigner_promotiondialog.cpp @@ -288,7 +288,7 @@ namespace qdesigner_internal { } const QStringList &QDesignerPromotionDialog::baseClassNames(const QDesignerPromotionInterface *promotion) { - typedef QList WidgetDataBaseItemList; + using WidgetDataBaseItemList = QList; static QStringList rc; if (rc.empty()) { // Convert the item list into a string list. -- cgit v1.2.1