summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-30 13:08:34 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-30 13:08:34 +0000
commit35841948169c44863f9fb39cdee4dccf0463846a (patch)
tree5195655a75e2fc217495bbc89f5ffc2b71b648ff /src
parentc463929602252be95ca340b477b7f3b42ff6b0c0 (diff)
Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/wx/config_dialog.h5
-rw-r--r--src/wx/full_config_dialog.cc2
-rw-r--r--src/wx/player_config_dialog.cc2
3 files changed, 3 insertions, 6 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h
index b76f8bc35..3b8762d8b 100644
--- a/src/wx/config_dialog.h
+++ b/src/wx/config_dialog.h
@@ -155,9 +155,8 @@ private:
class KeysPage : public StandardPage
{
public:
- KeysPage (wxSize panel_size, int border, bool sign)
+ KeysPage (wxSize panel_size, int border)
: StandardPage (panel_size, border)
- , _sign (sign)
{}
wxString GetName () const;
@@ -181,8 +180,6 @@ private:
void signing_advanced ();
void export_decryption_chain_and_key ();
void import_decryption_chain_and_key ();
-
- bool _sign;
};
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc
index ce3348c26..46a9f1b4f 100644
--- a/src/wx/full_config_dialog.cc
+++ b/src/wx/full_config_dialog.cc
@@ -1184,7 +1184,7 @@ create_full_config_dialog ()
e->AddPage (new FullGeneralPage (ps, border));
e->AddPage (new DefaultsPage (ps, border));
e->AddPage (new EncodingServersPage (ps, border));
- e->AddPage (new KeysPage (ps, border, true));
+ e->AddPage (new KeysPage (ps, border));
e->AddPage (new TMSPage (ps, border));
e->AddPage (new KDMEmailPage (ps, border));
e->AddPage (new CoverSheetPage (ps, border));
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc
index eba23164f..d3319803c 100644
--- a/src/wx/player_config_dialog.cc
+++ b/src/wx/player_config_dialog.cc
@@ -107,6 +107,6 @@ create_player_config_dialog ()
#endif
e->AddPage (new PlayerGeneralPage (ps, border));
- e->AddPage (new KeysPage (ps, border, false));
+ e->AddPage (new KeysPage (ps, border));
return e;
}