diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-04 10:11:24 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-05 10:26:13 +0200 |
commit | f562ee4402c957d66f4a5ae5b39cd2679d0c4b24 (patch) | |
tree | 14869b9080d5569e1f3b23413bfab1710992b3f2 /src/designer/src/lib/shared/qdesigner_promotiondialog.cpp | |
parent | 96b70c3a3e269c671f6ecae9c81a0cf7aad1f325 (diff) |
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 <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_promotiondialog.cpp')
-rw-r--r-- | src/designer/src/lib/shared/qdesigner_promotiondialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QDesignerWidgetDataBaseItemInterface *> WidgetDataBaseItemList; + using WidgetDataBaseItemList = QList<QDesignerWidgetDataBaseItemInterface *>; static QStringList rc; if (rc.empty()) { // Convert the item list into a string list. |