summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt/rtp_player_dialog.cpp2
-rw-r--r--ui/qt/rtp_player_dialog.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/rtp_player_dialog.cpp b/ui/qt/rtp_player_dialog.cpp
index 35274cb3f0..22ab5d0897 100644
--- a/ui/qt/rtp_player_dialog.cpp
+++ b/ui/qt/rtp_player_dialog.cpp
@@ -733,7 +733,7 @@ int RtpPlayerDialog::getHoveredPacket()
// Used by RtpAudioStreams to initialize QAudioOutput. We could alternatively
// pass the corresponding QAudioDeviceInfo directly.
-const QString RtpPlayerDialog::currentOutputDeviceName()
+QString RtpPlayerDialog::currentOutputDeviceName()
{
return ui->outputDeviceComboBox->currentText();
}
diff --git a/ui/qt/rtp_player_dialog.h b/ui/qt/rtp_player_dialog.h
index 0067c6f3e9..0c0bfd9dda 100644
--- a/ui/qt/rtp_player_dialog.h
+++ b/ui/qt/rtp_player_dialog.h
@@ -46,7 +46,7 @@ class RtpAudioStream;
class RtpPlayerDialog : public WiresharkDialog
{
Q_OBJECT
- Q_PROPERTY(QString currentOutputDeviceName READ currentOutputDeviceName CONSTANT)
+ Q_PROPERTY(QString currentOutputDeviceName READ currentOutputDeviceName)
public:
explicit RtpPlayerDialog(QWidget &parent, CaptureFile &cf);
@@ -135,7 +135,7 @@ private:
double getLowestTimestamp();
const QString getHoveredTime();
int getHoveredPacket();
- const QString currentOutputDeviceName();
+ QString currentOutputDeviceName();
#else // QT_MULTIMEDIA_LIB
private: