summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/undoframework/main.cpp
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-05-22 14:19:39 +0200
committerKai Köhne <kai.koehne@qt.io>2023-06-08 16:15:02 +0000
commiteed17b3634a99b6f6f751830c6443094dd6b600b (patch)
tree138356d409d211733899296e81c3b4b2fe044320 /examples/widgets/tools/undoframework/main.cpp
parent7626736a5f068ba7bf835266d6b4c48299def97f (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/tools/undoframework/main.cpp')
-rw-r--r--examples/widgets/tools/undoframework/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/widgets/tools/undoframework/main.cpp b/examples/widgets/tools/undoframework/main.cpp
index c43b2fccd7..8dfa3ffb4b 100644
--- a/examples/widgets/tools/undoframework/main.cpp
+++ b/examples/widgets/tools/undoframework/main.cpp
@@ -8,8 +8,6 @@
//! [0]
int main(int argv, char *args[])
{
- Q_INIT_RESOURCE(undoframework);
-
QApplication app(argv, args);
MainWindow mainWindow;