Changes for Qt 6 on MacOS
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
extern "C" {
|
||||
#include "hack.h"
|
||||
}
|
||||
#undef C
|
||||
|
||||
#include "qt_pre.h"
|
||||
#include <QtGui/QtGui>
|
||||
@@ -557,7 +558,9 @@ QHBoxLayout *NetHackQtStatusWindow::InitHitpointBar()
|
||||
|
||||
QHBoxLayout *hpbar = new QHBoxLayout;
|
||||
hpbar->setSpacing(0);
|
||||
#if QT_VERSION < 0x060000
|
||||
hpbar->setMargin(0);
|
||||
#endif
|
||||
hpbar->addWidget(&hpbar_health);
|
||||
hpbar->setAlignment(&hpbar_health, Qt::AlignLeft);
|
||||
hpbar->addWidget(&hpbar_injury);
|
||||
|
||||
Reference in New Issue
Block a user