Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(osx): Remove useless '#ifdef Q_OS_MAC'
Browse files Browse the repository at this point in the history
  • Loading branch information
Diadlo authored and zetok committed Jan 28, 2017
1 parent 657d1a8 commit f0467ab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/widget/contentdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ class ContentDialog : public ActivateDialog
signals:
void friendDialogShown(Friend* f);
void groupDialogShown(Group* g);
#ifdef Q_OS_MAC
void activated();
#endif

public slots:
void updateTitleAndStatusIcon(const QString& username);
Expand Down
2 changes: 0 additions & 2 deletions src/widget/loginscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ class LoginScreen : public QWidget

bool event(QEvent* event) final override;

#ifdef Q_OS_MAC
signals:
void windowStateChanged(Qt::WindowStates states);
#endif

private slots:
void onAutoLoginToggled(int state);
Expand Down
2 changes: 0 additions & 2 deletions src/widget/widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ public slots:
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;
Expand Down

0 comments on commit f0467ab

Please sign in to comment.