Convert m_pttShowNotification to new settings API

This commit is contained in:
Vasily
2020-01-16 00:09:09 +01:00
committed by username223
parent d873e024ca
commit b8488d318d
4 changed files with 19 additions and 49 deletions
+2 -8
View File
@@ -88,7 +88,6 @@ private:
unsigned settingsUpdateCounter = 0;
bool m_pttActive = false;
bool m_pttShowNotification = false;
std::unique_ptr<AudioManager> audioManager;
std::vector<std::pair<std::string, std::string>> m_recordingDevices;
@@ -185,9 +184,6 @@ public:
void startPtt();
void stopPtt();
void reloadPttConfig();
void savePttConfig();
public slots:
void setMirrorVolume( float value, bool notify = true );
void setMirrorMuted( bool value, bool notify = true );
@@ -210,10 +206,8 @@ public slots:
void setAudioProfileDefault( bool value, bool notify = true );
void setPttEnabled( bool value, bool notify = true, bool save = true );
void setPttShowNotification( bool value,
bool notify = true,
bool save = true );
void setPttEnabled( bool value, bool notify = true );
void setPttShowNotification( bool value, bool notify = true );
signals:
void playbackDeviceIndexChanged( int index );