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: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
Thiago Macieira
2014-11-23 07:23:50 -08:00
committed by Yoann Lopes
parent 16a386b071
commit 59f2bf1864
5 changed files with 0 additions and 11 deletions

View File

@@ -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;

View File

@@ -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)));

View File

@@ -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;
}; };

View File

@@ -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;
}; };

View File

@@ -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;
}; };