1
0
Fork 0

GUI: removed some redundant code from AboutDialog

This commit is contained in:
mrexodia 2017-06-27 03:17:30 +02:00
parent 2588f7dc3e
commit a835571cc4
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
3 changed files with 4 additions and 22 deletions

View File

@ -25,21 +25,6 @@ AboutDialog::~AboutDialog()
delete ui; delete ui;
} }
void AboutDialog::on_lblWebsite_linkActivated(const QString & link)
{
QDesktopServices::openUrl(QUrl(link));
}
void AboutDialog::on_lblVersion_7_linkActivated(const QString & link)
{
QDesktopServices::openUrl(QUrl(link));
}
void AboutDialog::on_lblAbout_2_linkActivated(const QString & link)
{
QDesktopServices::openUrl(QUrl(link));
}
void AboutDialog::on_btnCheckUpdates_clicked() void AboutDialog::on_btnCheckUpdates_clicked()
{ {
mUpdateChecker->checkForUpdates(); mUpdateChecker->checkForUpdates();

View File

@ -19,10 +19,7 @@ public:
~AboutDialog(); ~AboutDialog();
private slots: private slots:
void on_lblWebsite_linkActivated(const QString & link);
void on_lblVersion_7_linkActivated(const QString & link);
void on_btnCheckUpdates_clicked(); void on_btnCheckUpdates_clicked();
void on_lblAbout_2_linkActivated(const QString & link);
private: private:
Ui::AboutDialog* ui; Ui::AboutDialog* ui;

View File

@ -180,7 +180,7 @@
<string>Check for Updates</string> <string>Check for Updates</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="lblDonation_2"> <widget class="QLabel" name="lblDonation">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>21</x> <x>21</x>
@ -211,7 +211,7 @@
<set>Qt::LinksAccessibleByMouse</set> <set>Qt::LinksAccessibleByMouse</set>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="lblDonation"> <widget class="QLabel" name="lblDonationTitle">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>20</x> <x>20</x>
@ -261,7 +261,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="lblWebsiteTitle_2"> <widget class="QLabel" name="lblIconsTitle">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>180</x> <x>180</x>
@ -283,7 +283,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="lblWebsite_2"> <widget class="QLabel" name="lblIcons">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>180</x> <x>180</x>