From 2658b7a8225374dfe0f1e447c2aeb74d97e09ef6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 11 May 2019 23:48:25 -0500 Subject: Networking: add full-stops, use static_cast --- networkingpage.cc | 8 ++++---- 1 file 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(&QButtonGroup::buttonClicked), [=](QAbstractButton *button) { emit completeChanged(); }); -- cgit v1.2.3-70-g09d2