diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
commit | d97189f055798b5b2051c1c5770a3def62747461 (patch) | |
tree | d66a891dba33d2ce1c882e0de7d6145bb2e0326b /src/dropshortcut.cpp | |
parent | 25dce1399e40f24809842303d48ef090439de1e5 (diff) | |
download | ManaVerse-d97189f055798b5b2051c1c5770a3def62747461.tar.gz ManaVerse-d97189f055798b5b2051c1c5770a3def62747461.tar.bz2 ManaVerse-d97189f055798b5b2051c1c5770a3def62747461.tar.xz ManaVerse-d97189f055798b5b2051c1c5770a3def62747461.zip |
Improve perfomance in some object constructors.
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r-- | src/dropshortcut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index b0202f04d..03450718b 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -39,13 +39,13 @@ DropShortcut *dropShortcut; -DropShortcut::DropShortcut(): +DropShortcut::DropShortcut() : mItemSelected(-1), - mItemColorSelected(1) + mItemColorSelected(1), + mLastDropIndex(0) { clear(); load(); - mLastDropIndex = 0; } DropShortcut::~DropShortcut() |