From 3572fc60e90362dd63f7e40b71b054b12bacf914 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 25 Nov 2014 10:53:01 +0100 Subject: [PATCH] COPKGManager: add filter for ipk packages Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5eff6a4fb9a4e5508bec4115f707bcb6a13fb1f3 Author: Thilo Graf Date: 2014-11-25 (Tue, 25 Nov 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/opkg_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index d814f96be..15556f180 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -139,8 +139,11 @@ int COPKGManager::exec(CMenuTarget* parent, const string &actionKey) if (actionKey == "local_package") { if (parent) parent->hide(); + CFileFilter fileFilter; - fileFilter.addFilter("opk"); + string filters[] = {"opk", "ipk"}; + for(size_t i=0; i