summaryrefslogtreecommitdiffstats
path: root/kpackage/managementWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/managementWidget.cpp')
-rw-r--r--kpackage/managementWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpackage/managementWidget.cpp b/kpackage/managementWidget.cpp
index 2d30f5b..16e0ad7 100644
--- a/kpackage/managementWidget.cpp
+++ b/kpackage/managementWidget.cpp
@@ -623,7 +623,7 @@ KpTreeListItem *managementWidget::updatePackage(packageInfo *pki, bool install)
if (install) {
if (pnew) {
if (pnew->packageState != packageInfo::BAD_INSTALL) {
- ptree = dirInstPackages->tqfind(pkgId); // remove installed entry
+ ptree = dirInstPackages->find(pkgId); // remove installed entry
dirInstPackages->remove(pkgId);
if (ptree) {
if (ptree->getItem()) {
@@ -632,7 +632,7 @@ KpTreeListItem *managementWidget::updatePackage(packageInfo *pki, bool install)
}
}
- ptree = dirUninstPackages->tqfind(pkgId); // remove uninstalled entry
+ ptree = dirUninstPackages->find(pkgId); // remove uninstalled entry
if (ptree) {
ptree->packageState = packageInfo::HIDDEN;
if (ptree->getItem()) {
@@ -665,7 +665,7 @@ KpTreeListItem *managementWidget::updatePackage(packageInfo *pki, bool install)
} else {
kdDebug() << "DEL=" << name << endl;
}
- packageInfo *pb = dirUninstPackages->tqfind(pkgId);
+ packageInfo *pb = dirUninstPackages->find(pkgId);
if (pb) { // available package matching the one just uninstalled
pb->packageState = packageInfo::NEW;
q = pb->place(treeList,TRUE);