mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
change most code to use CKeyboardInput in place of CStringInputSMS
Origin commit data
------------------
Branch: ni/coolstream
Commit: 549e110e14
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-19 (Wed, 19 Nov 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/keyboard_input.h>
|
||||
|
||||
#include <gui/filebrowser.h>
|
||||
|
||||
@@ -107,7 +108,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
fileBrowser.Dir_Mode = true;
|
||||
if (fileBrowser.exec("/var/tuxbox") == true) {
|
||||
std::string fname = "keys.conf";
|
||||
CStringInputSMS * sms = new CStringInputSMS(LOCALE_EXTRA_SAVEKEYS, &fname, 30, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "abcdefghijklmnopqrstuvwxyz0123456789. ");
|
||||
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname, 30);
|
||||
sms->exec(NULL, "");
|
||||
std::string sname = fileBrowser.getSelectedFile()->Name + "/" + fname;
|
||||
printf("[neutrino keybind_setup] save keys: %s\n", sname.c_str());
|
||||
|
Reference in New Issue
Block a user