From 11fcea6b71459c849ebeb19277fb8ac9683db486 Mon Sep 17 00:00:00 2001 From: Odizinne Date: Wed, 16 Oct 2024 14:41:15 +0200 Subject: [PATCH] cleanup --- src/Panel/panel.cpp | 6 ------ src/Panel/panel.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/Panel/panel.cpp b/src/Panel/panel.cpp index 6480490..e52935d 100644 --- a/src/Panel/panel.cpp +++ b/src/Panel/panel.cpp @@ -35,7 +35,6 @@ Panel::Panel(QWidget *parent) setSliders(); setButtons(); setFrames(); - setProgressBars(); QTimer *audioMeterTimer = new QTimer(this); connect(audioMeterTimer, &QTimer::timeout, this, &Panel::outputAudioMeter); @@ -123,11 +122,6 @@ void Panel::setFrames() { setFrameColorBasedOnWindow(this, ui->inputFrame); } -void Panel::setProgressBars() { - //ui->outputAudioMeter->setFixedHeight(10); - //ui->inputAudioMeter->setFixedHeight(10); -} - void Panel::setAudioDevice(const QString& deviceId) { QString command = QString("Set-AudioDevice -ID \"%1\"").arg(deviceId); // Use escaped double quotes diff --git a/src/Panel/panel.h b/src/Panel/panel.h index dbecec6..cdc9faa 100644 --- a/src/Panel/panel.h +++ b/src/Panel/panel.h @@ -38,7 +38,6 @@ class Panel : public QWidget void setAudioDevice(const QString& deviceId); bool userClicked; void setFrames(); - void setProgressBars(); private slots: void onOutputComboBoxIndexChanged(int index);