mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user