tpreferences: hopefully silenced unused parameter warning

This commit is contained in:
Charles Dang 2016-02-21 21:28:36 +11:00
parent 07169f5e7a
commit c08a87a255
2 changed files with 2 additions and 2 deletions

View file

@ -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_);

View file

@ -55,7 +55,7 @@ private:
/** 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);