mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Replace deprecated macro
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
This commit is contained in:
parent
ef8b37f7fa
commit
0d5b0b9542
37 changed files with 159 additions and 159 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include <QTabBar>
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#ifdef Q_OS_MACOS
|
||||
#include <QPaintEvent>
|
||||
#include <QStyle>
|
||||
#endif
|
||||
|
@ -53,7 +53,7 @@ void HidableTabWidget::tabRemoved(const int index)
|
|||
tabBar()->setVisible(count() != 1);
|
||||
}
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#ifdef Q_OS_MACOS
|
||||
void HidableTabWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
// Hide the pane for macintosh style
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue