mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Ui fixes
This commit is contained in:
parent
23ddc9ac88
commit
edc2ace096
5 changed files with 5 additions and 5 deletions
|
|
@ -258,7 +258,6 @@ void App::clean() {
|
|||
delete mEngine;
|
||||
mEngine = nullptr;
|
||||
if (mSettings) {
|
||||
mSettings->deleteLater();
|
||||
mSettings = nullptr;
|
||||
}
|
||||
mLinphoneThread->wait(250);
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@ void CameraGui::setWindowIdLocation(const WindowIdLocation &location) {
|
|||
mWindowIdLocation = location;
|
||||
if (mWindowIdLocation == CorePreview) PreviewManager::getInstance()->subscribe(this);
|
||||
update();
|
||||
QTimer::singleShot(100, this, &CameraGui::requestNewRenderer);
|
||||
// if (mWindowIdLocation == WindowIdLocation::CorePreview) {
|
||||
// mLastVideoDefinition =
|
||||
// CoreManager::getInstance()->getSettingsModel()->getCurrentPreviewVideoDefinition(); emit
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2 as Control
|
||||
import QtQuick.Controls.Basic 2.2 as Control
|
||||
import QtQuick.Effects
|
||||
import QtQuick.Layouts
|
||||
import Linphone
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ Item {
|
|||
triggeredOnStart: true
|
||||
onTriggered: {cameraLoader.reset = !cameraLoader.reset}
|
||||
}
|
||||
active: mainItem.visible && mainItem.videoEnabled && !mainItem.reset
|
||||
active: mainItem.visible && mainItem.videoEnabled && !cameraLoader.reset
|
||||
onActiveChanged: console.log("("+mainItem.qmlName+") Camera active " + active)
|
||||
sourceComponent: cameraComponent
|
||||
}
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ AbstractMainPage {
|
|||
visible: favoriteList.contentHeight > 0
|
||||
Layout.leftMargin: leftPanel.leftMargin
|
||||
Layout.rightMargin: leftPanel.rightMargin
|
||||
spacing: 16 * Defaultstyle.dp
|
||||
spacing: 16 * DefaultStyle.dp
|
||||
RowLayout {
|
||||
spacing: 0
|
||||
Text {
|
||||
|
|
@ -190,7 +190,7 @@ AbstractMainPage {
|
|||
visible: contactList.count > 0
|
||||
Layout.leftMargin: leftPanel.leftMargin
|
||||
Layout.rightMargin: leftPanel.rightMargin
|
||||
spacing: 16 * Defaultstyle.dp
|
||||
spacing: 16 * DefaultStyle.dp
|
||||
RowLayout {
|
||||
spacing: 0
|
||||
Text {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue