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

Make virtual method isAutoConnectAllowed to return false

parent afcf6615
...@@ -104,7 +104,6 @@ public: ...@@ -104,7 +104,6 @@ public:
void loadSettings (QSettings& settings, const QString& root); void loadSettings (QSettings& settings, const QString& root);
void saveSettings (QSettings& settings, const QString& root); void saveSettings (QSettings& settings, const QString& root);
void updateSettings (); void updateSettings ();
bool isAutoConnectAllowed () { return false; }
QString settingsURL () { return "BluetoothSettings.qml"; } QString settingsURL () { return "BluetoothSettings.qml"; }
public slots: public slots:
......
...@@ -93,7 +93,7 @@ public: ...@@ -93,7 +93,7 @@ public:
* Is Auto Connect allowed for this type? * Is Auto Connect allowed for this type?
* @return True if this type can be set as an Auto Connect configuration * @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 * @brief Connection type
......
...@@ -40,7 +40,6 @@ public: ...@@ -40,7 +40,6 @@ public:
void loadSettings (QSettings& settings, const QString& root); void loadSettings (QSettings& settings, const QString& root);
void saveSettings (QSettings& settings, const QString& root); void saveSettings (QSettings& settings, const QString& root);
void updateSettings (); void updateSettings ();
bool isAutoConnectAllowed () { return false; }
QString settingsURL () { return "LogReplaySettings.qml"; } QString settingsURL () { return "LogReplaySettings.qml"; }
signals: signals:
void fileNameChanged(); 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