COPKGManager: add filter for ipk packages

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5eff6a4fb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-25 (Tue, 25 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-11-25 10:53:01 +01:00
parent b3f9113a0b
commit 3572fc60e9

View File

@@ -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<sizeof(filters)/sizeof(filters[0]) ;i++)
fileFilter.addFilter(filters[i]);
CFileBrowser fileBrowser;
fileBrowser.Filter = &fileFilter;