mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 09:03:57 -07:00
Guard for Mac
Took 4 minutes
This commit is contained in:
parent
5de93c49f4
commit
96de0209b2
1 changed files with 2 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ struct PaletteColorInfo
|
|||
QColor color;
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
static inline QList<PaletteColorInfo> queryAllPaletteColors(const QPalette &palette = qApp->palette())
|
||||
{
|
||||
QList<PaletteColorInfo> colors;
|
||||
|
|
@ -87,6 +88,7 @@ static inline void printPaletteColors(const QPalette &palette = qApp->palette())
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ThemeManager::ThemeManager(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue