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:
committed by
Yoann Lopes
parent
16a386b071
commit
59f2bf1864
@@ -163,13 +163,6 @@ private:
|
||||
int m_position;
|
||||
QSoundEffectRef *m_ref;
|
||||
|
||||
enum ResourceStatus {
|
||||
NoResources,
|
||||
WaitingResources,
|
||||
GrantedResources,
|
||||
DeniedResources
|
||||
};
|
||||
ResourceStatus m_resourceStatus;
|
||||
bool m_resourcesAvailable;
|
||||
|
||||
QMediaPlayerResourceSetInterface *m_resources;
|
||||
|
||||
@@ -306,7 +306,6 @@ QWindowVideoWidgetBackend::QWindowVideoWidgetBackend(
|
||||
: m_service(service)
|
||||
, m_windowControl(control)
|
||||
, m_widget(widget)
|
||||
, m_aspectRatioMode(Qt::KeepAspectRatio)
|
||||
{
|
||||
connect(control, SIGNAL(brightnessChanged(int)), m_widget, SLOT(_q_brightnessChanged(int)));
|
||||
connect(control, SIGNAL(contrastChanged(int)), m_widget, SLOT(_q_contrastChanged(int)));
|
||||
|
||||
@@ -208,7 +208,6 @@ private:
|
||||
QMediaService *m_service;
|
||||
QVideoWindowControl *m_windowControl;
|
||||
QWidget *m_widget;
|
||||
Qt::AspectRatioMode m_aspectRatioMode;
|
||||
QSize m_pixelAspectRatio;
|
||||
};
|
||||
|
||||
|
||||
@@ -153,7 +153,6 @@ private:
|
||||
snd_pcm_uframes_t period_frames;
|
||||
snd_pcm_access_t access;
|
||||
snd_pcm_format_t pcmformat;
|
||||
snd_timestamp_t* timestamp;
|
||||
snd_pcm_hw_params_t *hwparams;
|
||||
qreal m_volume;
|
||||
};
|
||||
|
||||
@@ -132,7 +132,6 @@ private:
|
||||
snd_pcm_t* handle;
|
||||
snd_pcm_access_t access;
|
||||
snd_pcm_format_t pcmformat;
|
||||
snd_timestamp_t* timestamp;
|
||||
snd_pcm_hw_params_t *hwparams;
|
||||
qreal m_volume;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user