From 339eeb661f9e064b7e7036c84429e9dfe1ab251d Mon Sep 17 00:00:00 2001 From: cora32 Date: Tue, 24 Mar 2015 00:49:38 +0300 Subject: [PATCH] Link clicker fix. --- nesca_3.cpp | 5 +++++ nesca_3.h | 1 + 2 files changed, 6 insertions(+) diff --git a/nesca_3.cpp b/nesca_3.cpp index b3bf5bd..2f32856 100644 --- a/nesca_3.cpp +++ b/nesca_3.cpp @@ -2187,6 +2187,11 @@ void nesca_3::changeNSTrackLabel(bool status) else ui->NSTrackStatusLabel->setStyleSheet("background-color: black; border: 1px solid white;"); } +void nesca_3::onLinkClicked(QUrl link) +{ + QDesktopServices::openUrl(link); +} + void nesca_3::ConnectEvrthng() { connect ( pbTh, SIGNAL(upd()), this, SLOT(slotPBUpdate())); diff --git a/nesca_3.h b/nesca_3.h index 1636de3..82ed5c5 100644 --- a/nesca_3.h +++ b/nesca_3.h @@ -61,6 +61,7 @@ protected: QString GetSSLContent(QString str); void SSLConnect(QString str); protected slots: + void onLinkClicked(QUrl); void MaxBrutingThr_ChangeValue(QString str); void ThreadDelay_ChangeValue(QString val); void ChangePingerOK(bool val);