Skip to content

Commit

Permalink
taddon_connect: removed unused display argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 25, 2016
1 parent 6612b71 commit 0299573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/gui/dialogs/addon_connect.cpp
Expand Up @@ -54,8 +54,7 @@ namespace gui2
REGISTER_DIALOG(addon_connect)

taddon_connect::taddon_connect(std::string& host_name,
const bool allow_remove,
display*)
const bool allow_remove)
: allow_remove_(allow_remove)
{
register_text("host_name", false, host_name, true);
Expand Down
3 changes: 1 addition & 2 deletions src/gui/dialogs/addon_connect.hpp
Expand Up @@ -39,8 +39,7 @@ class taddon_connect : public tdialog
* in-game help when requested.
*/
taddon_connect(std::string& host_name,
const bool allow_remove,
display* disp = NULL);
const bool allow_remove);

private:
/** Enable the addon remove button? */
Expand Down

0 comments on commit 0299573

Please sign in to comment.