taddon_connect: removed unused display argument

This commit is contained in:
Charles Dang 2016-02-26 07:11:56 +11:00
parent 6612b71b8d
commit 02995731ce
2 changed files with 2 additions and 4 deletions

View File

@ -54,8 +54,7 @@ namespace gui2
REGISTER_DIALOG(addon_connect) REGISTER_DIALOG(addon_connect)
taddon_connect::taddon_connect(std::string& host_name, taddon_connect::taddon_connect(std::string& host_name,
const bool allow_remove, const bool allow_remove)
display*)
: allow_remove_(allow_remove) : allow_remove_(allow_remove)
{ {
register_text("host_name", false, host_name, true); register_text("host_name", false, host_name, true);

View File

@ -39,8 +39,7 @@ public:
* in-game help when requested. * in-game help when requested.
*/ */
taddon_connect(std::string& host_name, taddon_connect(std::string& host_name,
const bool allow_remove, const bool allow_remove);
display* disp = NULL);
private: private:
/** Enable the addon remove button? */ /** Enable the addon remove button? */