Ignore:
Timestamp:
10/05/17 22:50:44 (5 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
e618f18
Parents:
68efead
Message:

AppSettings? returns the proxy type as QNetworkProxy instead of int now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/app/appsettings.h

    r68efead r9b513f6  
    3737        static QString proxyAddress();
    3838        static quint16 proxyPort();
    39         static int proxyType(); // QNetworkProxy::ProxyType
     39        static QNetworkProxy::ProxyType proxyType();
    4040        static bool isDirectConnection();
    4141
    4242        static void setProxyAddress(const QString &aAddress);
    4343        static void setProxyPort(const quint16 aPort);
    44         static void setProxyType(const int aProxyType); // QNetworkProxy::ProxyType
     44        static void setProxyType(QNetworkProxy::ProxyType aProxyType);
    4545        static void setDirectConnection(bool aDirectConnection);
    4646        static int preEventAlarmSec() {return 60*15;} ///< seconds that alarm should ring before an event starts
Note: See TracChangeset for help on using the changeset viewer.