summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/EditAccountDialog.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-24 23:38:37 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-24 23:39:04 +0100
commit8d0ca72abb10b0cb77816d44f3f768865cc23aef (patch)
tree07a866c3625bad8369ed55dea89034b288358591 /gui/dialogs/EditAccountDialog.cpp
parent027aafc3c1fc5e78c91ee439cd38562387f7ed9f (diff)
downloadMultiMC-8d0ca72abb10b0cb77816d44f3f768865cc23aef.tar
MultiMC-8d0ca72abb10b0cb77816d44f3f768865cc23aef.tar.gz
MultiMC-8d0ca72abb10b0cb77816d44f3f768865cc23aef.tar.lz
MultiMC-8d0ca72abb10b0cb77816d44f3f768865cc23aef.tar.xz
MultiMC-8d0ca72abb10b0cb77816d44f3f768865cc23aef.zip
Log SSL errors, give common solutions
Diffstat (limited to 'gui/dialogs/EditAccountDialog.cpp')
-rw-r--r--gui/dialogs/EditAccountDialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/dialogs/EditAccountDialog.cpp b/gui/dialogs/EditAccountDialog.cpp
index dd3f0523..a1bd5591 100644
--- a/gui/dialogs/EditAccountDialog.cpp
+++ b/gui/dialogs/EditAccountDialog.cpp
@@ -15,6 +15,8 @@
#include "EditAccountDialog.h"
#include "ui_EditAccountDialog.h"
+#include <QDesktopServices>
+#include <QUrl>
EditAccountDialog::EditAccountDialog(const QString &text, QWidget *parent, int flags)
: QDialog(parent), ui(new Ui::EditAccountDialog)
@@ -33,6 +35,11 @@ EditAccountDialog::~EditAccountDialog()
delete ui;
}
+void EditAccountDialog::on_label_linkActivated(const QString &link)
+{
+ QDesktopServices::openUrl(QUrl(link));
+}
+
QString EditAccountDialog::username() const
{
return ui->userTextBox->text();