GUI: removed some redundant code from AboutDialog
This commit is contained in:
parent
2588f7dc3e
commit
a835571cc4
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue