show tooltip for artifacts in the header bar
This commit is contained in:
@@ -32,6 +32,11 @@ HeaderBar::HeaderBar(const GameConfig* config, QWidget* parent)
|
||||
QString::fromStdString(*config->world.buildingBlocksTooltip));
|
||||
}
|
||||
m_artifactsLabel = new QLabel(tr("Artifacts: 0/?"), this);
|
||||
if (config->world.artifactTooltip)
|
||||
{
|
||||
m_artifactsLabel->setToolTip(
|
||||
QString::fromStdString(*config->world.artifactTooltip));
|
||||
}
|
||||
m_bossLabel = new QLabel(tr("Boss Wave #1 Next boss: 5:00"), this);
|
||||
layout->addWidget(m_timeLabel);
|
||||
layout->addWidget(m_blocksLabel);
|
||||
|
||||
Reference in New Issue
Block a user