diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-29 01:20:19 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-29 01:20:19 +0100 |
commit | b4b6091372310f4a811180cffde3ea5611881e6c (patch) | |
tree | a836e6376942c9dbabb27d21860ff31c613693b2 /gui/dialogs/OneSixModEditDialog.cpp | |
parent | ffbc5bb62c0cd771b26cb1d9b5afdccef77075b4 (diff) | |
download | MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.gz MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.lz MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.xz MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.zip |
Add 'empty text' to all the version selection dialogs.
Customize it for the Forge one so people finally shut up about 1.7.4
Diffstat (limited to 'gui/dialogs/OneSixModEditDialog.cpp')
-rw-r--r-- | gui/dialogs/OneSixModEditDialog.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gui/dialogs/OneSixModEditDialog.cpp b/gui/dialogs/OneSixModEditDialog.cpp index 3982f17d..27315c69 100644 --- a/gui/dialogs/OneSixModEditDialog.cpp +++ b/gui/dialogs/OneSixModEditDialog.cpp @@ -142,7 +142,8 @@ void OneSixModEditDialog::on_customEditorBtn_clicked() { if (!MMC->openJsonEditor(m_inst->instanceRoot() + "/custom.json")) { - QMessageBox::warning(this, tr("Error"), tr("Unable to open custom.json, check the settings")); + QMessageBox::warning(this, tr("Error"), + tr("Unable to open custom.json, check the settings")); } } } @@ -151,6 +152,8 @@ void OneSixModEditDialog::on_forgeBtn_clicked() { VersionSelectDialog vselect(MMC->forgelist().get(), tr("Select Forge version"), this); vselect.setFilter(1, m_inst->currentVersionId()); + vselect.setEmptyString(tr("No Forge versions are currently available for Minecraft ") + + m_inst->currentVersionId()); if (vselect.exec() && vselect.selectedVersion()) { if (m_inst->versionIsCustom()) @@ -240,9 +243,9 @@ void OneSixModEditDialog::on_liteloaderBtn_clicked() } if (!liteloader.apply(m_version)) { - QMessageBox::critical( - this, tr("LiteLoader"), - tr("For reasons unknown, the LiteLoader installation failed. Check your MultiMC log files for details.")); + QMessageBox::critical(this, tr("LiteLoader"), + tr("For reasons unknown, the LiteLoader installation failed. " + "Check your MultiMC log files for details.")); } } |