From 5b2e3475bada25c1c2531bc0e15fdf19371fbae5 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 13 Jun 2023 11:34:05 +0200 Subject: [PATCH] Do XBEL example's last !QT_NO_... -> QT_CONFIG() Amends commit 723e331f0a811294e43207db162698c3ff8fde51 Task-number: QTBUG-111228 Change-Id: Ib9a094ab432a80b8b2dbbbecb497dca13d23a553 Reviewed-by: Friedemann Kleint (cherry picked from commit 4b6986db32eef511718e9010636c5485b6512ac9) Reviewed-by: Qt Cherry-pick Bot --- examples/corelib/serialization/streambookmarks/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/corelib/serialization/streambookmarks/mainwindow.h b/examples/corelib/serialization/streambookmarks/mainwindow.h index 7a4a922e437..4f2a8901b0c 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: