summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2023-06-13 11:34:05 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-07-14 10:01:29 +0000
commit5b2e3475bada25c1c2531bc0e15fdf19371fbae5 (patch)
tree730fe3028bd81afd295b5e55f89c1de4c1c6b791 /examples
parent84ec6b1dc663389d2f6d2eed4c462bd27b028b1e (diff)
Do XBEL example's last !QT_NO_... -> QT_CONFIG()
Amends commit 723e331f0a811294e43207db162698c3ff8fde51 Task-number: QTBUG-111228 Change-Id: Ib9a094ab432a80b8b2dbbbecb497dca13d23a553 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 4b6986db32eef511718e9010636c5485b6512ac9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/corelib/serialization/streambookmarks/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/serialization/streambookmarks/mainwindow.h b/examples/corelib/serialization/streambookmarks/mainwindow.h
index 7a4a922e43..4f2a8901b0 100644
--- a/examples/corelib/serialization/streambookmarks/mainwindow.h
+++ b/examples/corelib/serialization/streambookmarks/mainwindow.h
@@ -22,7 +22,7 @@ public slots:
void open();
void saveAs();
void about();
-#if !defined(QT_NO_CONTEXTMENU) && !defined(QT_NO_CLIPBOARD)
+#if QT_CONFIG(clipboard) && QT_CONFIG(contextmenu)
void onCustomContextMenuRequested(const QPoint &pos);
#endif
private: