Browse Source

Make virtual method isAutoConnectAllowed to return false

QGC4.4
Alexey Bulatov 8 years ago
parent
commit
17eee4a9e6
  1. 1
      src/comm/BluetoothLink.h
  2. 2
      src/comm/LinkConfiguration.h
  3. 1
      src/comm/LogReplayLink.h

1
src/comm/BluetoothLink.h

@ -104,7 +104,6 @@ public: @@ -104,7 +104,6 @@ public:
void loadSettings (QSettings& settings, const QString& root);
void saveSettings (QSettings& settings, const QString& root);
void updateSettings ();
bool isAutoConnectAllowed () { return false; }
QString settingsURL () { return "BluetoothSettings.qml"; }
public slots:

2
src/comm/LinkConfiguration.h

@ -93,7 +93,7 @@ public: @@ -93,7 +93,7 @@ public:
* Is Auto Connect allowed for this type?
* @return True if this type can be set as an Auto Connect configuration
*/
virtual bool isAutoConnectAllowed() { return true; }
virtual bool isAutoConnectAllowed() { return false; }
/*!
* @brief Connection type

1
src/comm/LogReplayLink.h

@ -40,7 +40,6 @@ public: @@ -40,7 +40,6 @@ public:
void loadSettings (QSettings& settings, const QString& root);
void saveSettings (QSettings& settings, const QString& root);
void updateSettings ();
bool isAutoConnectAllowed () { return false; }
QString settingsURL () { return "LogReplaySettings.qml"; }
signals:
void fileNameChanged();

Loading…
Cancel
Save