diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2016-12-08 08:14:14 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-12-08 12:47:50 +0000 |
commit | 43706be64c1380d55da1882d093764913401d7e7 (patch) | |
tree | 379eaf630443b3ccfd3c87467d879b5a23f9ace7 /ui | |
parent | 98ec464f0cfbf45bfd204725665f527533b82ff3 (diff) |
Qt: Fix currentOutputDeviceName() without QtMultimedia
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 <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/rtp_player_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |