mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on older Qt
This commit is contained in:
parent
1d23aa2085
commit
96fe40efc1
|
@ -100,7 +100,7 @@ void AssetTile::selectIndex(int index) {
|
|||
data = mTileCacheGetTile(tileCache, index, paletteId);
|
||||
m_ui.tileId->setText(QString::number(dispIndex));
|
||||
m_ui.paletteId->setText(QString::number(paletteId));
|
||||
m_ui.address->setText(QLatin1String("%0%1%2")
|
||||
m_ui.address->setText(QString("%0%1%2")
|
||||
.arg(m_addressWidth == 4 ? index >= m_boundary / 2 : 0)
|
||||
.arg(m_addressWidth == 4 ? ":" : "x")
|
||||
.arg(dispIndex * bpp | base, m_addressWidth, 16, QChar('0')));
|
||||
|
|
Loading…
Reference in New Issue