summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/VersionSelectDialog.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-29 01:20:19 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-29 01:20:19 +0100
commitb4b6091372310f4a811180cffde3ea5611881e6c (patch)
treea836e6376942c9dbabb27d21860ff31c613693b2 /gui/dialogs/VersionSelectDialog.cpp
parentffbc5bb62c0cd771b26cb1d9b5afdccef77075b4 (diff)
downloadMultiMC-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/VersionSelectDialog.cpp')
-rw-r--r--gui/dialogs/VersionSelectDialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/dialogs/VersionSelectDialog.cpp b/gui/dialogs/VersionSelectDialog.cpp
index d6efe3c0..0f379f56 100644
--- a/gui/dialogs/VersionSelectDialog.cpp
+++ b/gui/dialogs/VersionSelectDialog.cpp
@@ -51,6 +51,11 @@ VersionSelectDialog::VersionSelectDialog(BaseVersionList *vlist, QString title,
}
}
+void VersionSelectDialog::setEmptyString(QString emptyString)
+{
+ ui->listView->setEmptyString(emptyString);
+}
+
VersionSelectDialog::~VersionSelectDialog()
{
delete ui;