Ref T430, follow ups of FG integration fixing wrong distributor handling

* fixing a bug where the radio button and check box names got mixed
* removed code for FG disabling
* style

Backend T576
This commit is contained in:
Klaus Basan
2019-03-23 18:06:59 +01:00
committed by Mat Sutcliffe
parent cdca20abe9
commit 3988fbdb32
9 changed files with 15 additions and 35 deletions

View File

@@ -25,8 +25,7 @@ namespace BlackGui
// no wildcard, just string matching
if (!filter.contains('*'))
{
return (v.indexOf(f, 0, cs) == 0) &&
(v.length() == f.length());
return (v.indexOf(f, 0, cs) == 0) && (v.length() == f.length());
}
const QString filterNoWildcard = stripWildcard(f);

View File

@@ -50,7 +50,7 @@ namespace BlackGui
virtual ContainerType filter(const ContainerType &container) const = 0;
//! Anything to do?
bool isValid() const { return this->m_valid; }
bool isValid() const { return m_valid; }
//! Enabled?
virtual bool isEnabled() const { return m_enabled && isValid(); }