Skip to content

Commit

Permalink
tpreferences: hopefully silenced unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 21, 2016
1 parent 07169f5 commit c08a87a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/dialogs/preferences_dialog.cpp
Expand Up @@ -1052,7 +1052,7 @@ void tpreferences::on_tab_select(twindow& window, const std::string& widget_id)
set_visible_page(window, static_cast<unsigned int>(selected_row), (widget_id + "_pager"));
}

void tpreferences::post_show(twindow& window)
void tpreferences::post_show(twindow& /*window*/)
{
// Handle the font scaling setter only once prefs is closed
set_font_scaling(font_scaling_);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/dialogs/preferences_dialog.hpp
Expand Up @@ -55,7 +55,7 @@ class tpreferences : public tdialog

/** Inherited from tdialog. */
void pre_show(CVideo& video, twindow& window);
void post_show(twindow& window);
void post_show(twindow& /*window*/);

/** Initializers */
void initialize_members(twindow& window);
Expand Down

0 comments on commit c08a87a

Please sign in to comment.