mirror of
https://github.com/JupiterBroadcasting/CasterSoundboard.git
synced 2025-10-29 19:45:32 +00:00
Merge pull request #59 from fszymanski/master
Suppress `unused parameter` compiler warnings
This commit is contained in:
commit
d9fb86bae6
@ -158,6 +158,7 @@ void CasterCuePicker::button_Cancel_Clicked()
|
||||
//=======Protected=======
|
||||
void CasterCuePicker::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
player->stop();
|
||||
button_Preview->setText("Preview");
|
||||
}
|
||||
|
||||
@ -200,6 +200,7 @@ void CasterLabelColorPicker::set_slider_L_Value(int L_Value)
|
||||
//SLOTS
|
||||
void CasterLabelColorPicker::slider_HSL_valueChanged(int value)
|
||||
{
|
||||
Q_UNUSED(value);
|
||||
label_H_Value->setText(QString::number(slider_H->value()));
|
||||
label_S_Value->setText(QString::number(slider_S->value()).append("%"));
|
||||
label_L_Value->setText(QString::number(slider_L->value()).append("%"));
|
||||
|
||||
@ -93,7 +93,7 @@ CasterOSCServerConfigPicker::CasterOSCServerConfigPicker(QString _inbound_ipv4,
|
||||
//=======Protected=======
|
||||
void CasterOSCServerConfigPicker::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
|
||||
Q_UNUSED(event);
|
||||
}
|
||||
|
||||
//======Public Slots======
|
||||
|
||||
@ -706,6 +706,7 @@ void CasterPlayerWidget::dropEvent(QDropEvent *event)
|
||||
msgBox.setDefaultButton(QMessageBox::Close);
|
||||
msgBox.setModal(true);
|
||||
int ret = msgBox.exec();
|
||||
Q_UNUSED(ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -749,6 +750,7 @@ bool CasterPlayerWidget::openFiles(const QStringList& pathList)
|
||||
/* When user touches wiget it toggles the player state (Play/Pause/Stop) */
|
||||
void CasterPlayerWidget::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
// Toggle play state
|
||||
// Play/Pause
|
||||
//CURRENT PLAY STATE TOGGLE LOGIC
|
||||
@ -773,12 +775,14 @@ void CasterPlayerWidget::mousePressEvent(QMouseEvent *event)
|
||||
//===========Focus Event===========
|
||||
void CasterPlayerWidget::mouseMoveEvent(QMouseEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
this->setFocus();
|
||||
}
|
||||
|
||||
//===========Paint Event===========
|
||||
void CasterPlayerWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
//Make widget render it's own style sheet.
|
||||
QStyleOption opt;
|
||||
opt.init(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user