]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.hpp
pv: adjust application source code for Qt6 support
[pulseview.git] / pv / popups / channels.hpp
index c176eb7a95184850ca89dc1b2c90d7ce4d1d660e..66d284b00dfcefcadd003a1b7bbd73b021b6f274 100644 (file)
@@ -82,7 +82,11 @@ private:
        void showEvent(QShowEvent *event);
 
 private Q_SLOTS:
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+       void on_channel_checked(QObject *widget);
+#else
        void on_channel_checked(QWidget *widget);
+#endif
 
        void enable_all_channels();
        void disable_all_channels();