From a544111c75bdd6cf8ad2015f9a0d9c8882e49c44 Mon Sep 17 00:00:00 2001 From: Jan Horacek Date: Tue, 24 Dec 2019 12:04:57 +0100 Subject: [PATCH] Minor code format enhancements. --- rcs-xn.pro | 6 +++--- src/rcs-xn-gui.cpp | 2 +- src/rcs-xn.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rcs-xn.pro b/rcs-xn.pro index d5b16e5..7849f66 100644 --- a/rcs-xn.pro +++ b/rcs-xn.pro @@ -4,8 +4,8 @@ DEFINES += QT_DEPRECATED_WARNINGS DEFINES += RCS_XN_SHARED_LIBRARY SOURCES += \ - src/rcs-xn.cpp \ - src/rcs-xn-gui.cpp \ + src/rcs-xn.cpp \ + src/rcs-xn-gui.cpp \ src/settings.cpp \ src/signals.cpp \ src/form-signal-edit.cpp \ @@ -37,7 +37,7 @@ HEADERS += \ lib/xn-lib-cpp-qt/xn-loco-addr.h \ lib/xn-lib-cpp-qt/xn-commands.h \ lib/xn-lib-cpp-qt/xn.h \ - lib/q-str-exception.h + lib/q-str-exception.h CONFIG += c++14 dll QMAKE_CXXFLAGS += -Wall -Wextra -pedantic diff --git a/src/rcs-xn-gui.cpp b/src/rcs-xn-gui.cpp index 50978d9..98c0ac7 100644 --- a/src/rcs-xn-gui.cpp +++ b/src/rcs-xn-gui.cpp @@ -23,7 +23,7 @@ void RcsXn::guiInit() { QObject::connect(form.ui.chb_only_one_active, SIGNAL(stateChanged(int)), this, SLOT(chb_general_config_changed(int))); QObject::connect(form.ui.chb_forbid_00_output, SIGNAL(stateChanged(int)), this, - SLOT(chb_general_config_changed(int))); + SLOT(chb_general_config_changed(int))); QObject::connect(form.ui.chb_reset_signals, SIGNAL(stateChanged(int)), this, SLOT(chb_general_config_changed(int))); QObject::connect(form.ui.cb_addr_range, SIGNAL(currentIndexChanged(int)), this, diff --git a/src/rcs-xn.cpp b/src/rcs-xn.cpp index c0039e8..6b80360 100644 --- a/src/rcs-xn.cpp +++ b/src/rcs-xn.cpp @@ -338,7 +338,7 @@ void RcsXn::scanNextGroup(int previousGroup) { xn.accInfoRequest( inBusModuleAddr(this->scan_group), true, std::make_unique([this](void *s, void *d) { xnOnInitScanningError(s, d); }, - reinterpret_cast(true)) + reinterpret_cast(true)) ); } }