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;
}
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()
{
mUpdateChecker->checkForUpdates();

View File

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

View File

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