From 5fa09e19d5fb5bf9ab9f795faa8ce044dd813f4a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 26 Feb 2013 13:10:17 +0100 Subject: [PATCH] osd_setup.cpp: move dest-dir for screenshots to top of menu Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/d4370304cd6175d34335d50ed34af982aa08e215 Author: vanhofen Date: 2013-02-26 (Tue, 26 Feb 2013) Origin message was: ------------------ - osd_setup.cpp: move dest-dir for screenshots to top of menu ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/osd_setup.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 874dbf1f1..3774b6054 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -988,6 +988,10 @@ void COsdSetup::showOsdScreenShotSetup(CMenuWidget *menu_screenshot) if((uint)g_settings.key_screenshot == CRCInput::RC_nokey) menu_screenshot->addItem( new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_SCREENSHOT_INFO)); + CMenuForwarder * mf = new CMenuForwarder(LOCALE_SCREENSHOT_DEFDIR, true, g_settings.screenshot_dir, this, "screenshot_dir"); + mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_DIR); + menu_screenshot->addItem(mf); + CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_SCREENSHOT_COUNT, &g_settings.screenshot_count, true, 1, 5, NULL); nc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_COUNT); menu_screenshot->addItem(nc); @@ -996,10 +1000,6 @@ void COsdSetup::showOsdScreenShotSetup(CMenuWidget *menu_screenshot) mc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_FORMAT); menu_screenshot->addItem(mc); - CMenuForwarder * mf = new CMenuForwarder(LOCALE_SCREENSHOT_DEFDIR, true, g_settings.screenshot_dir, this, "screenshot_dir"); - mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_DIR); - menu_screenshot->addItem(mf); - mc = new CMenuOptionChooser(LOCALE_SCREENSHOT_RES, &g_settings.screenshot_mode, SCREENSHOT_OPTIONS, SCREENSHOT_OPTION_COUNT, true); mc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_RES); menu_screenshot->addItem(mc);