From 43706be64c1380d55da1882d093764913401d7e7 Mon Sep 17 00:00:00 2001 From: Michal Labedzki Date: Thu, 8 Dec 2016 08:14:14 +0100 Subject: Qt: Fix currentOutputDeviceName() without QtMultimedia MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix build error: ui/qt/moc_rtp_player_dialog.cxx:87:76: error: ‘currentOutputDeviceName’ was not declared in this scope case 0: *reinterpret_cast< QString*>(_v) = currentOutputDeviceName(); break; Change-Id: I065862540e775c3e965cb5d3ae4c53bd8d505bdd Reviewed-on: https://code.wireshark.org/review/19142 Petri-Dish: Michal Labedzki Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/qt/rtp_player_dialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui') diff --git a/ui/qt/rtp_player_dialog.h b/ui/qt/rtp_player_dialog.h index 0c0bfd9dda..a96fb5972a 100644 --- a/ui/qt/rtp_player_dialog.h +++ b/ui/qt/rtp_player_dialog.h @@ -46,7 +46,9 @@ class RtpAudioStream; class RtpPlayerDialog : public WiresharkDialog { Q_OBJECT +#ifdef QT_MULTIMEDIA_LIB Q_PROPERTY(QString currentOutputDeviceName READ currentOutputDeviceName) +#endif public: explicit RtpPlayerDialog(QWidget &parent, CaptureFile &cf); -- cgit v1.2.3