summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-11 23:48:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-11 23:48:25 -0500
commit2658b7a8225374dfe0f1e447c2aeb74d97e09ef6 (patch)
tree5949457e7425e0f199aac3919c8a5b3e26942554
parent2533566cb859d9bae6250749973a4c014d4dcc21 (diff)
downloadhorizon-qt5-2658b7a8225374dfe0f1e447c2aeb74d97e09ef6.tar.gz
horizon-qt5-2658b7a8225374dfe0f1e447c2aeb74d97e09ef6.tar.bz2
horizon-qt5-2658b7a8225374dfe0f1e447c2aeb74d97e09ef6.tar.xz
horizon-qt5-2658b7a8225374dfe0f1e447c2aeb74d97e09ef6.zip
Networking: add full-stops, use static_cast
-rw-r--r--networkingpage.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/networkingpage.cc b/networkingpage.cc
index 9ff01aa..e78a8f8 100644
--- a/networkingpage.cc
+++ b/networkingpage.cc
@@ -27,20 +27,20 @@ NetworkingPage::NetworkingPage(QWidget *parent) : HorizonWizardPage(parent)
simple = new QRadioButton(tr(
"&Simple - my computer connects to the Internet directly\n"
- "or via a modem/router"));
+ "or via a modem/router."));
advanced = new QRadioButton(tr(
"&Advanced - my computer connects to an enterprise "
- "network\nor I use a static IP address, VPN, or 802.1X"));
+ "network,\nor I use a static IP address, VPN, or 802.1X."));
skip = new QRadioButton(tr(
"S&kip - I don't want to connect to a network or the "
- "Internet right now"));
+ "Internet."));
radioGroup = new QButtonGroup(this);
radioGroup->addButton(simple);
radioGroup->addButton(advanced);
radioGroup->addButton(skip);
- QObject::connect(radioGroup, (void (QButtonGroup:: *)(QAbstractButton *))&QButtonGroup::buttonClicked,
+ QObject::connect(radioGroup, static_cast<void (QButtonGroup:: *)(QAbstractButton *)>(&QButtonGroup::buttonClicked),
[=](QAbstractButton *button) {
emit completeChanged();
});