Commit 17eee4a9 authored by Alexey Bulatov's avatar Alexey Bulatov

Make virtual method isAutoConnectAllowed to return false

parent afcf6615
......@@ -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:
......
......@@ -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
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment