mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #1819
This commit is contained in:
parent
d76fb459cf
commit
d8446a7f90
|
@ -993,6 +993,14 @@ void ChatForm::show(Ui::MainWindow &ui)
|
|||
callConfirm->show();
|
||||
}
|
||||
|
||||
void ChatForm::showEvent(QShowEvent* event)
|
||||
{
|
||||
if (callConfirm)
|
||||
callConfirm->show();
|
||||
|
||||
GenericChatForm::showEvent(event);
|
||||
}
|
||||
|
||||
void ChatForm::hideEvent(QHideEvent* event)
|
||||
{
|
||||
if (callConfirm)
|
||||
|
|
|
@ -112,6 +112,7 @@ protected:
|
|||
void dropEvent(QDropEvent* ev);
|
||||
void registerReceipt(int receipt, int messageID, ChatMessage::Ptr msg);
|
||||
virtual void hideEvent(QHideEvent* event);
|
||||
virtual void showEvent(QShowEvent* event);
|
||||
|
||||
private:
|
||||
Friend* f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user