Commit 59f2bf18 authored by Thiago Macieira's avatar Thiago Macieira Committed by Yoann Lopes
Browse files

Remove unused private members


One is not used, the others are not even initialized, so don't use the
memory.

qsoundeffect_pulse_p.h:172:20: warning: private field 'm_resourceStatus' is not used [-Wunused-private-field]
qvideowidget_p.h:211:25: warning: private field 'm_aspectRatioMode' is not used [-Wunused-private-field]
qalsaaudioinput.h:156:22: warning: private field 'timestamp' is not used [-Wunused-private-field]
qalsaaudiooutput.h:135:22: warning: private field 'timestamp' is not used [-Wunused-private-field]

Change-Id: I7c9f50d57c4d29ee0dfd7dc086771d721cdb5b05
Reviewed-by: default avatarYoann Lopes <yoann.lopes@theqtcompany.com>
Showing with 0 additions and 11 deletions
...@@ -163,13 +163,6 @@ private: ...@@ -163,13 +163,6 @@ private:
int m_position; int m_position;
QSoundEffectRef *m_ref; QSoundEffectRef *m_ref;
enum ResourceStatus {
NoResources,
WaitingResources,
GrantedResources,
DeniedResources
};
ResourceStatus m_resourceStatus;
bool m_resourcesAvailable; bool m_resourcesAvailable;
QMediaPlayerResourceSetInterface *m_resources; QMediaPlayerResourceSetInterface *m_resources;
......
...@@ -306,7 +306,6 @@ QWindowVideoWidgetBackend::QWindowVideoWidgetBackend( ...@@ -306,7 +306,6 @@ QWindowVideoWidgetBackend::QWindowVideoWidgetBackend(
: m_service(service) : m_service(service)
, m_windowControl(control) , m_windowControl(control)
, m_widget(widget) , m_widget(widget)
, m_aspectRatioMode(Qt::KeepAspectRatio)
{ {
connect(control, SIGNAL(brightnessChanged(int)), m_widget, SLOT(_q_brightnessChanged(int))); connect(control, SIGNAL(brightnessChanged(int)), m_widget, SLOT(_q_brightnessChanged(int)));
connect(control, SIGNAL(contrastChanged(int)), m_widget, SLOT(_q_contrastChanged(int))); connect(control, SIGNAL(contrastChanged(int)), m_widget, SLOT(_q_contrastChanged(int)));
......
...@@ -208,7 +208,6 @@ private: ...@@ -208,7 +208,6 @@ private:
QMediaService *m_service; QMediaService *m_service;
QVideoWindowControl *m_windowControl; QVideoWindowControl *m_windowControl;
QWidget *m_widget; QWidget *m_widget;
Qt::AspectRatioMode m_aspectRatioMode;
QSize m_pixelAspectRatio; QSize m_pixelAspectRatio;
}; };
......
...@@ -153,7 +153,6 @@ private: ...@@ -153,7 +153,6 @@ private:
snd_pcm_uframes_t period_frames; snd_pcm_uframes_t period_frames;
snd_pcm_access_t access; snd_pcm_access_t access;
snd_pcm_format_t pcmformat; snd_pcm_format_t pcmformat;
snd_timestamp_t* timestamp;
snd_pcm_hw_params_t *hwparams; snd_pcm_hw_params_t *hwparams;
qreal m_volume; qreal m_volume;
}; };
......
...@@ -132,7 +132,6 @@ private: ...@@ -132,7 +132,6 @@ private:
snd_pcm_t* handle; snd_pcm_t* handle;
snd_pcm_access_t access; snd_pcm_access_t access;
snd_pcm_format_t pcmformat; snd_pcm_format_t pcmformat;
snd_timestamp_t* timestamp;
snd_pcm_hw_params_t *hwparams; snd_pcm_hw_params_t *hwparams;
qreal m_volume; qreal m_volume;
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment