[proxysetting] Fix build with NM 1.4

Authored by wbauer on Dec 12 2018, 1:39 PM.

Description

[proxysetting] Fix build with NM 1.4

The NMSettingProxyMethod enum only exists since NetworkManager 1.6.
So to make it compile with 1.4.x as well (which is the minimum supported
version), use the corresponding numbers instead of the enum defines.

Differential Revision: https://phabricator.kde.org/D17529

Details

Committed
wbauerDec 12 2018, 1:39 PM
Differential Revision
D17529: [proxysetting] Fix build with NM 1.4
Parents
R282:4332597370b8: Added DCB settings
Branches
Unknown
Tags
Unknown