diff options
author | nils <[email protected]> | 2016-02-07 13:04:17 +0000 |
---|---|---|
committer | nils <[email protected]> | 2016-02-07 13:04:17 +0000 |
commit | f94e3f2b3cd982f825d5e485834ea9389060adaa (patch) | |
tree | f99d95c9164aef16e05164aa1ac7fb10bcbc1f5e /helppage.cpp | |
parent | encrypt to self (diff) | |
download | gpg4usb-f94e3f2b3cd982f825d5e485834ea9389060adaa.tar.gz gpg4usb-f94e3f2b3cd982f825d5e485834ea9389060adaa.zip |
refactored slots and signals
Diffstat (limited to 'helppage.cpp')
-rw-r--r-- | helppage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helppage.cpp b/helppage.cpp index 9fd3d34..ace8c92 100644 --- a/helppage.cpp +++ b/helppage.cpp @@ -34,14 +34,14 @@ HelpPage::HelpPage(const QString path, QWidget *parent) : //setAttribute(Qt::WA_DeleteOnClose); //browser->setSource(QUrl::fromLocalFile(path)); - connect(browser, SIGNAL(anchorClicked(QUrl)), this, SLOT(openUrl(QUrl))); + connect(browser, SIGNAL(anchorClicked(QUrl)), this, SLOT(slotOpenUrl(QUrl))); browser->setOpenLinks(false); browser->setSource(localizedHelp(QUrl(path))); browser->setFocus(); } -void HelpPage::openUrl(QUrl url) { +void HelpPage::slotOpenUrl(QUrl url) { browser->setSource(localizedHelp(url)); }; |