diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-24 11:46:58 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-25 11:09:18 +0200 |
commit | f66031d7c9bc98e47340682a69cdc8e6fd9e9f8d (patch) | |
tree | c300ee2e57354345f1b7ab512ccb8a669fe4520a /src/designer/src/lib/shared/qtresourceview.cpp | |
parent | 30797f219b069967afe8cb2d7d0a1a0a95f338cc (diff) |
Qt Designer: Change string constants from pointer to array
Pick-to: 6.6 6.5
Change-Id: I9c772fb55611af68becc839edd9ce863c27b8162
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/qtresourceview.cpp')
-rw-r--r-- | src/designer/src/lib/shared/qtresourceview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/designer/src/lib/shared/qtresourceview.cpp b/src/designer/src/lib/shared/qtresourceview.cpp index ab586c2a5..f4a45c2e1 100644 --- a/src/designer/src/lib/shared/qtresourceview.cpp +++ b/src/designer/src/lib/shared/qtresourceview.cpp @@ -43,15 +43,15 @@ QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; -static const char *elementResourceData = "resource"; -static const char *typeAttribute = "type"; -static const char *typeImage = "image"; -static const char *typeStyleSheet = "stylesheet"; -static const char *typeOther = "other"; -static const char *fileAttribute = "file"; -static const char *qrvSplitterPosition = "SplitterPosition"; -static const char *qrvGeometry = "Geometry"; -static const char *ResourceViewDialogC = "ResourceDialog"; +static const char elementResourceData[] = "resource"; +static const char typeAttribute[] = "type"; +static const char typeImage[] = "image"; +static const char typeStyleSheet[] = "stylesheet"; +static const char typeOther[] = "other"; +static const char fileAttribute[] = "file"; +static const char qrvSplitterPosition[] = "SplitterPosition"; +static const char qrvGeometry[] = "Geometry"; +static const char ResourceViewDialogC[] = "ResourceDialog"; // ---------------- ResourceListWidget: A list widget that has drag enabled class ResourceListWidget : public QListWidget { |