mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
use the non-deprecated macro
This commit is contained in:
parent
b294438385
commit
311b620d71
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ QPixmap CountryPixmapGenerator::generatePixmap(int height, const QString &countr
|
|||
painter.setPen(Qt::black);
|
||||
|
||||
// width/height offset was determined through trial-and-error
|
||||
#ifdef Q_OS_MAC
|
||||
#ifdef Q_OS_MACOS
|
||||
painter.drawRect(0, 0, pixmap.width() / 2, pixmap.height() / 2);
|
||||
#else
|
||||
painter.drawRect(0, 0, pixmap.width() - 1, pixmap.height() - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue