Changeset 13724 for trunk/qt/prefs.cc


Ignore:
Timestamp:
Dec 30, 2012, 10:51:55 PM (9 years ago)
Author:
jordan
Message:

(trunk, qt) #5060 'start minimized to tray option' -- added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/prefs.cc

    r13686 r13724  
    3838  { DIR_WATCH_ENABLED, TR_KEY_watch_dir_enabled, QVariant::Bool },
    3939  { SHOW_TRAY_ICON, TR_KEY_show_notification_area_icon, QVariant::Bool },
     40  { START_MINIMIZED, TR_KEY_start_minimized, QVariant::Bool },
    4041  { SHOW_DESKTOP_NOTIFICATION, TR_KEY_show_desktop_notification, QVariant::Bool },
    4142  { ASKQUIT, TR_KEY_prompt_before_exit, QVariant::Bool },
     
    275276Prefs :: initDefaults (tr_variant * d)
    276277{
     278  tr_variantDictReserve (d, 35);
    277279  tr_variantDictAddBool (d, TR_KEY_blocklist_updates_enabled, true);
    278280  tr_variantDictAddBool (d, TR_KEY_compact_view, false);
     
    286288  tr_variantDictAddBool (d, TR_KEY_show_filterbar, true);
    287289  tr_variantDictAddBool (d, TR_KEY_show_notification_area_icon, false);
     290  tr_variantDictAddBool (d, TR_KEY_start_minimized, false);
    288291  tr_variantDictAddBool (d, TR_KEY_show_options_window, true);
    289292  tr_variantDictAddBool (d, TR_KEY_show_statusbar, true);
Note: See TracChangeset for help on using the changeset viewer.