diff --git a/.gitignore b/.gitignore index fab7372..9c02b0b 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,7 @@ Thumbs.db *.dll *.exe +generated/ + +.vscode/settings.json +testqt \ No newline at end of file diff --git a/pulseaudiosetup.sh b/pulseaudiosetup.sh old mode 100644 new mode 100755 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b48be24..2b5d38e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -12,10 +12,10 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi sound.addDefaultDevice(); QPushButton* btn = ui->pushButton; - QObject::connect(btn, SIGNAL( clicked() ), this, SLOT( buttonPressed() )); + QObject::connect(btn, SIGNAL( clicked() ), this, SLOT( buttonPressed0() )); QPushButton* btn2 = ui->pushButton2; - QObject::connect(btn2, SIGNAL( clicked() ), this, SLOT( buttonPressed() )); + QObject::connect(btn2, SIGNAL( clicked() ), this, SLOT( buttonPressed1() )); sc = new QShortcut(QKeySequence("Shift+1"), this, 0, 0, Qt::ApplicationShortcut); QObject::connect(sc, SIGNAL( activated() ), this, SLOT( shortcut() ));