mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Прокинул сигнал ошибки SQL на виджет
This commit is contained in:
@@ -64,11 +64,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
trayIcon->setContextMenu(trayMenu);
|
||||
trayIcon->show();
|
||||
|
||||
slot_Tray_ShowMessage(tr("Starting the server..."));
|
||||
|
||||
serverLMSWidget->start();
|
||||
|
||||
errorCheck();
|
||||
slot_Tray_ShowMessage(tr("Starting the server..."));
|
||||
|
||||
QTimer::singleShot(1000,this,&MainWindow::slot_Connect);
|
||||
}
|
||||
@@ -181,6 +177,10 @@ void MainWindow::slot_Tray_ShowMessage(QString textMsg, QSystemTrayIcon::Message
|
||||
|
||||
void MainWindow::slot_Connect()
|
||||
{
|
||||
serverLMSWidget->start();
|
||||
|
||||
errorCheck();
|
||||
|
||||
/* Также подключаем сигнал нажатия на иконку к обработчику
|
||||
* данного нажатия
|
||||
* */
|
||||
|
||||
Reference in New Issue
Block a user