diff --git a/cockatrice/src/client/tabs/tab.cpp b/cockatrice/src/client/tabs/tab.cpp index 84fdf2924..7b316dfe6 100644 --- a/cockatrice/src/client/tabs/tab.cpp +++ b/cockatrice/src/client/tabs/tab.cpp @@ -42,3 +42,8 @@ void Tab::deleteCardInfoPopup(const QString &cardName) } } } + +void Tab::closeRequest(bool /*forced*/) +{ + close(); +} \ No newline at end of file diff --git a/cockatrice/src/client/tabs/tab.h b/cockatrice/src/client/tabs/tab.h index 619bf47c9..cec40c373 100644 --- a/cockatrice/src/client/tabs/tab.h +++ b/cockatrice/src/client/tabs/tab.h @@ -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() { }