Commit e73a9922 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove obsolete fromOverride members

GnuPG-bug-id: 5283
parent e44e240f
Pipeline #58770 passed with stage
in 7 minutes and 22 seconds
...@@ -122,8 +122,7 @@ class ComboWidget: public QWidget ...@@ -122,8 +122,7 @@ class ComboWidget: public QWidget
public: public:
explicit ComboWidget(KeySelectionCombo *combo): explicit ComboWidget(KeySelectionCombo *combo):
mCombo(combo), mCombo(combo),
mFilterBtn(new QPushButton), mFilterBtn(new QPushButton)
mFromOverride(GpgME::UnknownProtocol)
{ {
auto hLay = new QHBoxLayout(this); auto hLay = new QHBoxLayout(this);
auto infoBtn = new QPushButton; auto infoBtn = new QPushButton;
...@@ -180,16 +179,6 @@ public: ...@@ -180,16 +179,6 @@ public:
return mCombo; return mCombo;
} }
GpgME::Protocol fromOverride() const
{
return mFromOverride;
}
void setFromOverride(GpgME::Protocol proto)
{
mFromOverride = proto;
}
GpgME::Protocol fixedProtocol() const GpgME::Protocol fixedProtocol() const
{ {
return mFixedProtocol; return mFixedProtocol;
...@@ -204,7 +193,6 @@ private: ...@@ -204,7 +193,6 @@ private:
KeySelectionCombo *mCombo; KeySelectionCombo *mCombo;
QPushButton *mFilterBtn; QPushButton *mFilterBtn;
QString mLastIdFilter; QString mLastIdFilter;
GpgME::Protocol mFromOverride;
GpgME::Protocol mFixedProtocol = GpgME::UnknownProtocol; GpgME::Protocol mFixedProtocol = GpgME::UnknownProtocol;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment