mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-14 12:58:39 +03:00
fix: remove unnecessary inheritance
This commit is contained in:
parent
ff0fdf5397
commit
ebd8fb9f78
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user