Skip to content

Commit

Permalink
tpreferences: removed old Hotkey button under General
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 29, 2016
1 parent cc8b2d0 commit fdb8b39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions data/gui/default/window/preferences/01_general.cfg
Expand Up @@ -210,18 +210,6 @@

#define _GUI_PREFERENCES_GENERAL_GRID_2
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"

[button]
id = hotkeys
label = _ "Hotkeys"
tooltip = "View and configure keyboard shortcuts"
[/button]
[/column]

[column]
border = "all"
border_size = 5
Expand Down
5 changes: 0 additions & 5 deletions src/gui/dialogs/preferences_dialog.cpp
Expand Up @@ -521,11 +521,6 @@ void tpreferences::initialize_members(twindow& window)
&tpreferences::max_autosaves_slider_callback,
this, boost::ref(autosaves_slider), boost::ref(autosaves_label)));

/* SET HOTKEYS */
connect_signal_mouse_left_click(find_widget<tbutton>(&window, "hotkeys", false),
boost::bind(&show_hotkeys_preferences_dialog,
boost::ref(window.video())));

/* CACHE MANAGE */
connect_signal_mouse_left_click(find_widget<tbutton>(&window, "cachemg", false),
boost::bind(&gui2::tgame_cache_options::display,
Expand Down

0 comments on commit fdb8b39

Please sign in to comment.