[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sysadmin/libqapt/src/worker (silent)
From: Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date: 2010-12-13 18:39:25
Message-ID: 20101213183925.623D8AC8A7 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1206171 by jmthomas:
SVN_SILENT: Stylistic changes
M +4 -5 worker.cpp
--- trunk/extragear/sysadmin/libqapt/src/worker/worker.cpp #1206170:1206171
@@ -96,10 +96,9 @@
return true;
}
- bool systemLocked = _system->Lock();
- m_systemLocked = systemLocked;
+ m_systemLocked = _system->Lock();
- return systemLocked;
+ return m_systemLocked;
}
bool QAptWorker::unlockSystem()
@@ -194,13 +193,13 @@
fetcher.Setup(m_acquireStatus);
// Populate it with the source selection and get all Indexes
// (GetAll=true)
- if (m_cache->list()->GetIndexes(&fetcher,true) == false) {
+ if (!m_cache->list()->GetIndexes(&fetcher,true)) {
emit workerFinished(false);
return;
}
// do the work
- if (_config->FindB("APT::Get::Download",true) == true) {
+ if (_config->FindB("APT::Get::Download",true)) {
bool result = ListUpdate(*m_acquireStatus, *m_cache->list());
emit workerFinished(result);
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic