[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-nm/0.9.3] kded: Missing Control For ModemManager class
From:       Ömer Fadıl Usta <omerusta () gmail ! com>
Date:       2014-07-22 7:49:58
Message-ID: E1X9Upi-0006tq-KP () scm ! kde ! org
[Download RAW message or body]

Git commit 38b75ecd1b7ea8a1e54380d459fd9c6211ae4172 by Ömer Fadıl Usta.
Committed on 22/07/2014 at 07:46.
Pushed by usta into branch '0.9.3'.

Missing Control For ModemManager class

There was a  missing control whether if Modemmanager exist or not before
creating a ref.

REVIEW: 119392

M  +2    -0    kded/service.cpp

http://commits.kde.org/plasma-nm/38b75ecd1b7ea8a1e54380d459fd9c6211ae4172

diff --git a/kded/service.cpp b/kded/service.cpp
index 0bf6f81..ec21b45 100644
--- a/kded/service.cpp
+++ b/kded/service.cpp
@@ -46,7 +46,9 @@ class NetworkManagementServicePrivate
 public:
     SecretAgent * agent;
     BluetoothMonitor * bluetoothMonitor;
+#if WITH_MODEMMANAGER_SUPPORT
     ModemMonitor * modemMonitor;
+#endif
     Notification * notification;
 };
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic