summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
});