summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuís Pereira2020-09-30 20:22:51 +0200
committerLuís Pereira2020-10-02 19:17:53 +0200
commit9d4c67c06e54c4d37d416fc7d7e30138901ac864 (patch)
tree0dd02a22c8f72fd9cef26b36e8ce75ac986cc2de /src
parentMerge pull request #163 from lxqt/eliding_name_label (diff)
downloadpavucontrol-slx-9d4c67c06e54c4d37d416fc7d7e30138901ac864.tar.gz
pavucontrol-slx-9d4c67c06e54c4d37d416fc7d7e30138901ac864.tar.xz
pavucontrol-slx-9d4c67c06e54c4d37d416fc7d7e30138901ac864.zip
Remove warnings about unused function parameters
Clean build logs are really nice.
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 5cb0743..76e81bf 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -1095,7 +1095,7 @@ void MainWindow::setConnectingMessage(const char *string) {
connectingLabel->setText(QString::fromUtf8(markup));
}
-void MainWindow::onSinkTypeComboBoxChanged(int index) {
+void MainWindow::onSinkTypeComboBoxChanged(int /*index*/) {
showSinkType = (SinkType) sinkTypeComboBox->currentIndex();
if (showSinkType == (SinkType) -1)
@@ -1104,7 +1104,7 @@ void MainWindow::onSinkTypeComboBoxChanged(int index) {
updateDeviceVisibility();
}
-void MainWindow::onSourceTypeComboBoxChanged(int index) {
+void MainWindow::onSourceTypeComboBoxChanged(int /*index*/) {
showSourceType = (SourceType) sourceTypeComboBox->currentIndex();
if (showSourceType == (SourceType) -1)
@@ -1113,7 +1113,7 @@ void MainWindow::onSourceTypeComboBoxChanged(int index) {
updateDeviceVisibility();
}
-void MainWindow::onSinkInputTypeComboBoxChanged(int index) {
+void MainWindow::onSinkInputTypeComboBoxChanged(int /*index*/) {
showSinkInputType = (SinkInputType) sinkInputTypeComboBox->currentIndex();
if (showSinkInputType == (SinkInputType) -1)
@@ -1122,7 +1122,7 @@ void MainWindow::onSinkInputTypeComboBoxChanged(int index) {
updateDeviceVisibility();
}
-void MainWindow::onSourceOutputTypeComboBoxChanged(int index) {
+void MainWindow::onSourceOutputTypeComboBoxChanged(int /*index*/) {
showSourceOutputType = (SourceOutputType) sourceOutputTypeComboBox->currentIndex();
if (showSourceOutputType == (SourceOutputType) -1)
@@ -1132,7 +1132,7 @@ void MainWindow::onSourceOutputTypeComboBoxChanged(int index) {
}
-void MainWindow::onShowVolumeMetersCheckButtonToggled(bool toggled) {
+void MainWindow::onShowVolumeMetersCheckButtonToggled(bool /*toggled*/) {
bool state = showVolumeMetersCheckButton->isChecked();
pa_operation *o;