GH-2748 disable the version page toolbar labels

This commit is contained in:
Petr Mrázek 2019-07-16 08:58:00 +02:00
parent decd4ae7ab
commit 5b153a5165

View File

@ -111,6 +111,7 @@ VersionPage::VersionPage(MinecraftInstance *inst, QWidget *parent)
: QMainWindow(parent), ui(new Ui::VersionPage), m_inst(inst)
{
ui->setupUi(this);
/*
auto labelSelection = new QLabel(tr("Selection"));
labelSelection->setAlignment(Qt::AlignHCenter);
ui->toolBar->insertWidget(ui->actionChange_version, labelSelection);
@ -126,6 +127,7 @@ VersionPage::VersionPage(MinecraftInstance *inst, QWidget *parent)
auto labelAdvanced = new QLabel(tr("Advanced"));
labelAdvanced->setAlignment(Qt::AlignHCenter);
ui->toolBar->insertWidget(ui->actionAdd_to_Minecraft_jar, labelAdvanced);
*/
m_profile = m_inst->getComponentList();