diff --git a/imgs/icon.rc b/imgs/icon.rc new file mode 100644 index 0000000..b20115c --- /dev/null +++ b/imgs/icon.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "icon.ico" \ No newline at end of file diff --git a/mainwidget.cpp b/mainwidget.cpp index 05b9ee2..71ea314 100644 --- a/mainwidget.cpp +++ b/mainwidget.cpp @@ -1,6 +1,5 @@ #include "mainwidget.h" #include "ui_mainwidget.h" -#include MainWidget::MainWidget(QString username,QWidget *parent) : QWidget(parent), @@ -244,7 +243,7 @@ void MainWidget::on_exit_btn_clicked() close(); } -void MainWidget::on_stop_clicked() +void MainWidget::on_stop_btn_clicked() { zoom_down(ui->stop); zoom_up(ui->stop); diff --git a/mainwidget.h b/mainwidget.h index 04b126a..116ff78 100644 --- a/mainwidget.h +++ b/mainwidget.h @@ -20,6 +20,7 @@ #include #include #include +#include namespace Ui { class MainWidget; @@ -53,7 +54,7 @@ private slots: void on_send_btn_clicked(); void on_name_list_itemDoubleClicked(QListWidgetItem *item); void on_exit_btn_clicked(); - void on_stop_clicked(); + void on_stop_btn_clicked(); void message_reminder(); void onFlashTimerOut(); public slots: