summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:16:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:16:51 +0300
commit10be802d2640bad75222736216cdcfcd7fb6a521 (patch)
tree5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/textcommandeditor.cpp
parent67a349cefcb72c7770b98bf645a7eca35695bb2b (diff)
downloadplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz
plus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2
plus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz
plus-10be802d2640bad75222736216cdcfcd7fb6a521.zip
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index da0eadfec..e7302e527 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -77,12 +77,12 @@ public:
~IconsModal()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return static_cast<int>(mStrings.size());
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i < 0 || i >= getNumberOfElements())
return "???";
@@ -125,12 +125,12 @@ public:
~TargetTypeModel()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return 3;
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i >= getNumberOfElements() || i < 0)
return "???";
@@ -144,12 +144,12 @@ public:
~MagicSchoolModel()
{ }
- int getNumberOfElements() override
+ int getNumberOfElements() override final
{
return 6;
}
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override final
{
if (i >= getNumberOfElements() || i < 0)
return "???";