diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 13:54:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 14:41:36 +0300 |
commit | 851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch) | |
tree | 50096efbfea146de63432ca95d1faacdbd62df80 /src/gui/botcheckerwindow.cpp | |
parent | 476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff) | |
download | plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2 plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip |
remove useless virtual keywords.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r-- | src/gui/botcheckerwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp index 74af1142d..58321b12f 100644 --- a/src/gui/botcheckerwindow.cpp +++ b/src/gui/botcheckerwindow.cpp @@ -66,27 +66,27 @@ public: A_DELETE_COPY(UsersTableModel) - virtual ~UsersTableModel() + ~UsersTableModel() { freeWidgets(); } - virtual int getRows() const + int getRows() const { return static_cast<int>(mPlayers.size()); } - virtual int getColumns() const + int getColumns() const { return COLUMNS_NR; } - virtual int getRowHeight() const + int getRowHeight() const { return ROW_HEIGHT; } - virtual int getColumnWidth(const int index) const + int getColumnWidth(const int index) const { if (index == NAME_COLUMN) return NAME_COLUMN_WIDTH; @@ -231,11 +231,11 @@ public: signalAfterUpdate(); } - virtual void updateModelInRow(const int row A_UNUSED) const + void updateModelInRow(const int row A_UNUSED) const { } - virtual gcn::Widget *getElementAt(const int row, const int column) const + gcn::Widget *getElementAt(const int row, const int column) const { return mWidgets[WIDGET_AT(row, column)]; } |