Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Network Management
Commits
623beb3f
Commit
623beb3f
authored
Jun 22, 2011
by
Lamarque Souza
Browse files
Optimise the last commit.
parent
e0b2b70b
Changes
2
Hide whitespace changes
Inline
Side-by-side
backends/NetworkManager/nmdbussettingsconnectionprovider.cpp
View file @
623beb3f
...
...
@@ -214,10 +214,10 @@ void NMDBusSettingsConnectionProvider::serviceOwnerChanged(const QString & chang
void
NMDBusSettingsConnectionProvider
::
clearConnections
()
{
Q_D
(
NMDBusSettingsConnectionProvider
);
foreach
(
const
QString
&
key
,
d
->
connections
.
key
s
())
{
foreach
(
RemoteConnection
*
conn
,
d
->
connections
.
value
s
())
{
// Qt::DirectConnection makes this call synchronous.
// The connection will actually be deleted by NMDBusSettingsConnectionProvider::onRemoteConnectionRemoved().
QMetaObject
::
invokeMethod
(
d
->
conn
ections
.
value
(
key
)
,
"Removed"
,
Qt
::
DirectConnection
);
// The connection will actually be deleted by NMDBusSettingsConnectionProvider::onRemoteConnectionRemoved().
QMetaObject
::
invokeMethod
(
conn
,
"Removed"
,
Qt
::
DirectConnection
);
}
// Just to make sure they are really clear.
d
->
connections
.
clear
();
...
...
plasma_nm_version.h
View file @
623beb3f
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static
const
char
*
plasmaNmVersion
=
"nm09-2011062
0
"
;
static
const
char
*
plasmaNmVersion
=
"nm09-2011062
2
"
;
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment