mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Fix signal redefinition warning
This commit is contained in:
parent
4fd8eccece
commit
b655a503a7
3 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ public:
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void contentLoaded();
|
void contentLoaded();
|
||||||
void close();
|
void closing();
|
||||||
void changeWindowTitle(const QString &msg);
|
void changeWindowTitle(const QString &msg);
|
||||||
void unreadMessages(int count);
|
void unreadMessages(int count);
|
||||||
void showNotification(const QString &msg);
|
void showNotification(const QString &msg);
|
||||||
|
|
|
@ -453,7 +453,7 @@ ChatPage::logout()
|
||||||
|
|
||||||
resetUI();
|
resetUI();
|
||||||
|
|
||||||
emit close();
|
emit closing();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -93,7 +93,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
});
|
});
|
||||||
connect(register_page_, SIGNAL(backButtonClicked()), this, SLOT(showWelcomePage()));
|
connect(register_page_, SIGNAL(backButtonClicked()), this, SLOT(showWelcomePage()));
|
||||||
|
|
||||||
connect(chat_page_, SIGNAL(close()), this, SLOT(showWelcomePage()));
|
connect(chat_page_, &ChatPage::closing, this, &MainWindow::showWelcomePage);
|
||||||
connect(
|
connect(
|
||||||
chat_page_, &ChatPage::showOverlayProgressBar, this, &MainWindow::showOverlayProgressBar);
|
chat_page_, &ChatPage::showOverlayProgressBar, this, &MainWindow::showOverlayProgressBar);
|
||||||
connect(
|
connect(
|
||||||
|
|
Loading…
Reference in a new issue