diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4ca2ca5..01f1212 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -33,7 +33,7 @@ void MainWindow::on_connectToPeer_clicked() void MainWindow::slotTimerAlarm() { - if(receive) + if(receive == true) { timer->stop(); receive = false;