mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
use close instead of deleteLater
This commit is contained in:
parent
1a06a92291
commit
75919e8868
4 changed files with 4 additions and 4 deletions
|
|
@ -981,7 +981,7 @@ void TabDeckEditor::closeRequest(bool forced)
|
||||||
}
|
}
|
||||||
|
|
||||||
emit deckEditorClosing(this);
|
emit deckEditorClosing(this);
|
||||||
deleteLater();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabDeckEditor::actNewDeck()
|
void TabDeckEditor::actNewDeck()
|
||||||
|
|
|
||||||
|
|
@ -707,7 +707,7 @@ void TabGame::closeRequest(bool forced)
|
||||||
|
|
||||||
emit gameClosing(this);
|
emit gameClosing(this);
|
||||||
|
|
||||||
deleteLater();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabGame::replayNextEvent(Player::EventProcessingOptions options)
|
void TabGame::replayNextEvent(Player::EventProcessingOptions options)
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ QString TabMessage::getTabText() const
|
||||||
void TabMessage::closeRequest(bool /*forced*/)
|
void TabMessage::closeRequest(bool /*forced*/)
|
||||||
{
|
{
|
||||||
emit talkClosing(this);
|
emit talkClosing(this);
|
||||||
deleteLater();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabMessage::sendMessage()
|
void TabMessage::sendMessage()
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ void TabRoom::closeRequest(bool /*forced*/)
|
||||||
{
|
{
|
||||||
sendRoomCommand(prepareRoomCommand(Command_LeaveRoom()));
|
sendRoomCommand(prepareRoomCommand(Command_LeaveRoom()));
|
||||||
emit roomClosing(this);
|
emit roomClosing(this);
|
||||||
deleteLater();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabRoom::tabActivated()
|
void TabRoom::tabActivated()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue