diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-29 20:23:25 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-29 20:23:25 +0200 |
commit | 6df16720da3ae3257636e000c10b62d0b99f752e (patch) | |
tree | 5fed84d7d00d2632335fb455e1c78440dd6cb69a /src/gui/skill.cpp | |
parent | c2697fef772f84db637f55b7501361ea94ed66ee (diff) | |
download | mana-6df16720da3ae3257636e000c10b62d0b99f752e.tar.gz mana-6df16720da3ae3257636e000c10b62d0b99f752e.tar.bz2 mana-6df16720da3ae3257636e000c10b62d0b99f752e.tar.xz mana-6df16720da3ae3257636e000c10b62d0b99f752e.zip |
Fixed const-ness of TableModel related methods
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r-- | src/gui/skill.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 684a9ded..d7a95120 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -66,12 +66,12 @@ public: update(); } - virtual int getRows(void) + virtual int getRows() const { return mEntriesNr; } - virtual int getColumnWidth(int index) + virtual int getColumnWidth(int index) const { if (index == 0) return 160; @@ -79,7 +79,7 @@ public: return 35; } - virtual int getRowHeight() + virtual int getRowHeight() const { return 12; } |