summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistremote.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistremote.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistremote.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/packagelistremote.cpp b/noncore/unsupported/oipkg/packagelistremote.cpp
index 721d4a6..1ec7292 100644
--- a/noncore/unsupported/oipkg/packagelistremote.cpp
+++ b/noncore/unsupported/oipkg/packagelistremote.cpp
@@ -24,2 +24,8 @@ void PackageListRemote::query(QString s)
{
+ searchString = s;
+}
+
+void PackageListRemote::update()
+{
+ pvDebug(2,"PackageListRemote::update");
int r=0;
@@ -34,3 +40,3 @@ void PackageListRemote::query(QString s)
cmd += "?format=pda&searchtype=package&section=";
- cmd += "&query="+s;
+ cmd += "&query="+searchString;
cmd += "\"";
@@ -40,8 +46,2 @@ void PackageListRemote::query(QString s)
readFileEntries( redirect );
-
-}
-
-void PackageListRemote::update()
-{
- pvDebug(2,"PackageListRemote::update\ndoing nothing ");
}