fix: remove unnecessary inheritance

This commit is contained in:
Корней Гедерт 2024-09-30 17:38:18 +04:00
parent ff0fdf5397
commit ebd8fb9f78

View File

@ -33,10 +33,8 @@ QT_END_NAMESPACE
namespace preferences {
class InputDetector : public QObject
class InputDetector
{
public:
Q_OBJECT
public:
virtual bool detect(const QString& input) = 0;
virtual ~InputDetector() = default;
@ -44,8 +42,6 @@ public:
class WhitespaceDetector: public InputDetector
{
public:
Q_OBJECT
public:
bool detect(const QString& input) override;
};