summaryrefslogtreecommitdiffstats
path: root/gui/MCModInfoFrame.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-29 12:40:09 +0000
committerSky <git@bunnies.cc>2013-10-29 12:40:09 +0000
commitb0ef429786bef64799d43f1ac502c139bbde8dc5 (patch)
treeb419161990d382edd0033b097880e044de4f75c7 /gui/MCModInfoFrame.cpp
parente7e03c2b542b1cceda63628dd7ca6fa9c875cfd2 (diff)
downloadMultiMC-b0ef429786bef64799d43f1ac502c139bbde8dc5.tar
MultiMC-b0ef429786bef64799d43f1ac502c139bbde8dc5.tar.gz
MultiMC-b0ef429786bef64799d43f1ac502c139bbde8dc5.tar.lz
MultiMC-b0ef429786bef64799d43f1ac502c139bbde8dc5.tar.xz
MultiMC-b0ef429786bef64799d43f1ac502c139bbde8dc5.zip
Add selectable message box helper, use it, make login GUI error label selectable
Diffstat (limited to 'gui/MCModInfoFrame.cpp')
-rw-r--r--gui/MCModInfoFrame.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/MCModInfoFrame.cpp b/gui/MCModInfoFrame.cpp
index b3f4ca5b..55ef13f1 100644
--- a/gui/MCModInfoFrame.cpp
+++ b/gui/MCModInfoFrame.cpp
@@ -15,6 +15,7 @@
#include "MCModInfoFrame.h"
#include "ui_MCModInfoFrame.h"
+#include "CustomMessageBox.h"
#include <QMessageBox>
#include <QtGui>
void MCModInfoFrame::updateWithMod(Mod &m)
@@ -104,7 +105,5 @@ void MCModInfoFrame::setModDescription(QString text)
}
void MCModInfoFrame::modDescEllipsisHandler(const QString &link)
{
- QMessageBox msgbox;
- msgbox.setText(desc);
- msgbox.exec();
+ CustomMessageBox::selectable(this, tr(""), desc)->show();
}