Commit 872f4bee authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

added TODOs

parent 8147b10d
......@@ -338,6 +338,7 @@ void BackendPrivate::__k__initializationFinished()
}
// All the rest
// TODO: check if this can be done with copy_if
for (QHash< QString, Database* >::const_iterator i = rethash.constBegin(); i != rethash.constEnd(); ++i) {
if (i.key() == "local") {
// Skip
......@@ -367,6 +368,7 @@ void BackendPrivate::packageQueryFinished()
sender()->deleteLater();
QList< Package* > result;
// TODO: why do we append one by one here?
foreach (QList< Package* > res, future.results()) {
result += res;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment