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

List:       kde-commits
Subject:    [libnm-qt] /: Correct the OperationMode enum
From:       Dominik Cermak <d.cermak () arcor ! de>
Date:       2013-03-02 16:31:08
Message-ID: 20130302163108.EB7A6A604F () git ! kde ! org
[Download RAW message or body]

Git commit 38a29363f7bf20ff419ef3a3675cf220229550e8 by Dominik Cermak.
Committed on 02/03/2013 at 17:25.
Pushed by cermak into branch 'master'.

Correct the OperationMode enum

The item 'ApMode' has been forgotten in the previous renaming commit,
only the comment above was changed to 'AP'.

Rename the item too to fix build.

M  +1    -1    wirelessdevice.h

http://commits.kde.org/libnm-qt/38a29363f7bf20ff419ef3a3675cf220229550e8

diff --git a/wirelessdevice.h b/wirelessdevice.h
index 2e52116..375b747 100644
--- a/wirelessdevice.h
+++ b/wirelessdevice.h
@@ -51,7 +51,7 @@ public:
      * Infra: a station in an infrastructure wireless network
      * AP: access point in an infrastructure network
      */
-    enum OperationMode { Unknown = 0, Adhoc, Infra, ApMode };
+    enum OperationMode { Unknown = 0, Adhoc, Infra, AP };
     /**
      * Capabilities (currently all encryption/authentication related) of the device
      * NoCapability = 0x0,
[prev in list] [next in list] [prev in thread] [next in thread] 

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