Revert "CMenuOptionNumberChooser: expand localize functionality for any number"

This reverts commit 4ee5185111 because of many
bothering compiler warnings:
extended initializer lists only available with -std=c++11 or -std=gnu++11


Origin commit data
------------------
Branch: ni/coolstream
Commit: adb80290ba
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-04-04 (Wed, 04 Apr 2018)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-04-04 23:12:16 +02:00
parent 4ee5185111
commit 76d5a637a7
4 changed files with 20 additions and 28 deletions

View File

@@ -172,7 +172,8 @@ int CVfdSetup::showSetup()
{
// allow to set scroll_repeats
CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_LCDMENU_SCROLL_REPEATS, &g_settings.lcd_scroll, vfd_enabled, 0, 999, this);
nc->setLocalizedValue(0, LOCALE_OPTIONS_OFF);
nc->setLocalizedValue(0);
nc->setLocalizedValueName(LOCALE_OPTIONS_OFF);
nc->setHint("", LOCALE_MENU_HINT_VFD_SCROLL);
vfds->addItem(nc);
}