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