mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(osx): Remove useless '#ifdef Q_OS_MAC'
This commit is contained in:
parent
657d1a84d1
commit
f0467abc34
|
@ -74,9 +74,7 @@ public:
|
|||
signals:
|
||||
void friendDialogShown(Friend* f);
|
||||
void groupDialogShown(Group* g);
|
||||
#ifdef Q_OS_MAC
|
||||
void activated();
|
||||
#endif
|
||||
|
||||
public slots:
|
||||
void updateTitleAndStatusIcon(const QString& username);
|
||||
|
|
|
@ -40,10 +40,8 @@ public:
|
|||
|
||||
bool event(QEvent* event) final override;
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
signals:
|
||||
void windowStateChanged(Qt::WindowStates states);
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
void onAutoLoginToggled(int state);
|
||||
|
|
|
@ -160,9 +160,7 @@ signals:
|
|||
void usernameChanged(const QString& username);
|
||||
void statusMessageChanged(const QString& statusMessage);
|
||||
void resized();
|
||||
#ifdef Q_OS_MAC
|
||||
void windowStateChanged(Qt::WindowStates states);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual bool eventFilter(QObject *obj, QEvent *event) final override;
|
||||
|
|
Loading…
Reference in New Issue
Block a user