[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sysadmin/libqapt/src
From: Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date: 2010-12-23 16:29:09
Message-ID: 20101223162909.C2CD03E1F2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208902 by jmthomas:
Ensure we don't make a deep copy due to const incorrectness
M +2 -2 package.cpp
--- trunk/extragear/sysadmin/libqapt/src/package.cpp #1208901:1208902
@@ -485,8 +485,8 @@
do {
line = stream.readLine();
QStringList split = line.split(QLatin1Char('='));
- if (split[0] == QLatin1String("DISTRIB_CODENAME")) {
- release = split[1];
+ if (split.at(0) == QLatin1String("DISTRIB_CODENAME")) {
+ release = split.at(1);
}
} while (!line.isNull());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic