diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-05-22 14:19:39 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-06-08 16:15:02 +0000 |
commit | eed17b3634a99b6f6f751830c6443094dd6b600b (patch) | |
tree | 138356d409d211733899296e81c3b4b2fe044320 /examples/widgets/graphicsview/chip | |
parent | 7626736a5f068ba7bf835266d6b4c48299def97f (diff) |
Examples: Remove unnecessary Q_INIT_RESOURCE calls
Explicit calls to Q_INIT_RESOURCE are only needed for
resources embedded in static libraries. See also
https://doc.qt.io/qt-6/resources.html#explicit-loading-and-unloading-of-embedded-resources
Pick-to: 6.5 6.6
Change-Id: I06a24d1c04369eedc78ca60a6ca02ce33907d9e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/widgets/graphicsview/chip')
-rw-r--r-- | examples/widgets/graphicsview/chip/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/widgets/graphicsview/chip/main.cpp b/examples/widgets/graphicsview/chip/main.cpp index bf75db6a93..4ccd66bbb9 100644 --- a/examples/widgets/graphicsview/chip/main.cpp +++ b/examples/widgets/graphicsview/chip/main.cpp @@ -7,8 +7,6 @@ int main(int argc, char *argv[]) { - Q_INIT_RESOURCE(images); - QApplication app(argc, argv); app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings); |