Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Bluedevil
Commits
f98796f9
Commit
f98796f9
authored
Nov 14, 2014
by
David Rosca
Browse files
Monolithic: Set Passive state when Bluetooth is offline
BUG: 332014
parent
b750a9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monolithic/monolithic.cpp
View file @
f98796f9
...
...
@@ -220,6 +220,8 @@ void Monolithic::setupDevice(Device *device)
void
Monolithic
::
onlineMode
()
{
setStatus
(
Active
);
QList
<
Adapter
*>
adapters
=
Manager
::
self
()
->
adapters
();
Q_FOREACH
(
Adapter
*
adapter
,
adapters
)
{
connect
(
adapter
,
SIGNAL
(
deviceFound
(
Device
*
)),
SLOT
(
deviceCreated
(
Device
*
)));
...
...
@@ -351,6 +353,7 @@ void Monolithic::deviceCreated(Device *device)
void
Monolithic
::
offlineMode
()
{
setStatus
(
Passive
);
setTooltipTitleStatus
(
false
);
KMenu
*
const
menu
=
contextMenu
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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