mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-04 05:09:27 +00:00
Fix a crash at startup for using uninitialized settings model.
Update SDK to 5.2.8 # Conflicts: # CHANGELOG.md # linphone-sdk
This commit is contained in:
parent
b10d7ce9d2
commit
2a5c8d83b1
5 changed files with 15 additions and 4 deletions
|
|
@ -4,14 +4,19 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
|
||||
## 5.1.0 - undefined
|
||||
|
||||
### Added
|
||||
- VFS Encryption
|
||||
- File viewer in chats (Image/Animated Image/Video/Texts) with the option to export the file.
|
||||
|
||||
## 5.0.4 - undefined
|
||||
## 5.0.5 - 2023-01-09
|
||||
|
||||
### Fixed
|
||||
- Crash at startup
|
||||
- Update SDK to 5.2.8
|
||||
|
||||
## 5.0.4 - 2022-12-28
|
||||
|
||||
### Fixed
|
||||
- Volume gauge in multimedia parameters while being in call.
|
||||
|
|
|
|||
|
|
@ -111,6 +111,10 @@ void CoreManager::initCoreManager(){
|
|||
emit coreManagerInitialized();
|
||||
}
|
||||
|
||||
bool CoreManager::isInitialized() const{
|
||||
return mStarted;
|
||||
}
|
||||
|
||||
AbstractEventCountNotifier * CoreManager::getEventCountNotifier(){
|
||||
return mEventCountNotifier;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ class CoreManager : public QObject {
|
|||
Q_PROPERTY(QString downloadUrl READ getDownloadUrl CONSTANT)
|
||||
Q_PROPERTY(int eventCount READ getEventCount NOTIFY eventCountChanged)
|
||||
Q_PROPERTY(int callLogsCount READ getCallLogsCount NOTIFY callLogsCountChanged)
|
||||
Q_PROPERTY(bool initialized READ isInitialized NOTIFY coreManagerInitialized)
|
||||
|
||||
public:
|
||||
bool started () const {
|
||||
|
|
@ -162,6 +163,7 @@ public:
|
|||
std::list<std::shared_ptr<linphone::Account>> getAccountList()const;
|
||||
|
||||
static bool isInstanciated(){return mInstance!=nullptr;}
|
||||
bool isInitialized() const;
|
||||
|
||||
Q_INVOKABLE bool isLastRemoteProvisioningGood();
|
||||
Q_INVOKABLE QString getUserAgent()const;
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ Item {
|
|||
}
|
||||
|
||||
MenuItem {
|
||||
visible: SettingsModel.isCheckForUpdateAvailable()
|
||||
visible: CoreManager.initialized && SettingsModel.isCheckForUpdateAvailable()
|
||||
//: 'Check for updates' : Item menu for checking updates
|
||||
text: qsTr('checkForUpdates')
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ MenuBar {
|
|||
|
||||
|
||||
MenuItem {
|
||||
visible: SettingsModel.isCheckForUpdateAvailable()
|
||||
visible: CoreManager.initialized && SettingsModel.isCheckForUpdateAvailable()
|
||||
//: 'Check for updates' : Item menu for checking updates
|
||||
text: qsTr('checkForUpdates')
|
||||
role: MenuItem.ApplicationSpecificRole
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue