From b0ef429786bef64799d43f1ac502c139bbde8dc5 Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 29 Oct 2013 12:40:09 +0000 Subject: Add selectable message box helper, use it, make login GUI error label selectable --- gui/MCModInfoFrame.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gui/MCModInfoFrame.cpp') 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 #include 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(); } -- cgit v1.2.3