[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/games/granatier/src
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2009-09-24 11:31:29
Message-ID: 1253791889.740568.27029.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1027584 by aacid:
no need to call values() here qDeleteAll already does the correct thing and is faster \
and uses less memory
M +1 -1 arenaselector.cpp
--- trunk/playground/games/granatier/src/arenaselector.cpp #1027583:1027584
@@ -92,7 +92,7 @@
void ArenaSelector::ArenaSelectorPrivate::findArenas(const QString \
&initialSelection) {
- qDeleteAll(arenaMap.values());
+ qDeleteAll(arenaMap);
arenaMap.clear();
//Disconnect the arenaList as we are going to clear it and do not want previews \
generated
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic