File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void NMWirelessAdapter::onAccessPointRemoved(const QDBusObjectPath& path) {
104104 auto iter = this ->mAPHash .find (path.path ());
105105 if (iter == this ->mAPHash .end ()) {
106106 qCWarning (logNetworkManager) << " NMWirelessAdapter sent removal signal for" << path.path ()
107- << " which is not registered." ;
107+ << " which is not registered." ;
108108 } else {
109109 auto * ap = iter.value ();
110110 this ->mAPHash .erase (iter);
@@ -167,6 +167,7 @@ void NMWirelessAdapter::registerAccessPoint(const QString& path) {
167167}
168168
169169void NMWirelessAdapter::scan () { this ->proxy ->RequestScan ({}); }
170+
170171bool NMWirelessAdapter::isValid () const { return this ->proxy && this ->proxy ->isValid (); }
171172QString NMWirelessAdapter::address () const {
172173 return this ->proxy ? this ->proxy ->service () : QString ();
Original file line number Diff line number Diff line change 88 <method name =" GetAllAccessPoints" type =" ao" />
99
1010 <method name =" RequestScan" >
11- <arg name =" options" type =" as" direction =" in" />
11+ <arg name =" options" type =" a{sv}" direction =" in" />
12+ <annotation name =" org.qtproject.QtDBus.QtTypeName.In0" value =" QVariantMap" />
1213 </method >
1314
1415 <signal name =" AccessPointAdded" >
You can’t perform that action at this time.
0 commit comments