mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -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.
|
* @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()
|
virtual void tabActivated()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue