mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
make closeRequest call close by default
This commit is contained in:
parent
3f41e5dd77
commit
16a9fe011d
2 changed files with 6 additions and 3 deletions
|
|
@ -42,3 +42,8 @@ void Tab::deleteCardInfoPopup(const QString &cardName)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Tab::closeRequest(bool /*forced*/)
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
|
@ -56,9 +56,7 @@ public:
|
|||
*
|
||||
* @param forced whether this close request was initiated by the user or forced by the server.
|
||||
*/
|
||||
virtual void closeRequest(bool /*forced*/ = false)
|
||||
{
|
||||
}
|
||||
virtual void closeRequest(bool forced = false);
|
||||
virtual void tabActivated()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue