Skip to content
Snippets Groups Projects
Commit 52b6b2a9 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

settings: update chat layout in current call view on settings update

Change-Id: Ifd98fa04653ea81948554a45fd724bd86625c839
GitLab: #657
parent ad8d1967
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,15 @@ Rectangle {
closeInCallConversation)
}
Connections {
target: UtilsAdapter
function onChatviewPositionChanged() {
mainColumnLayout.isHorizontal = UtilsAdapter.getAppValue(Settings.Key.ShowChatviewHorizontally)
}
}
function openInCallConversation() {
mainColumnLayout.isHorizontal = UtilsAdapter.getAppValue(Settings.Key.ShowChatviewHorizontally)
inCallMessageWebViewStack.visible = true
......
......@@ -373,6 +373,8 @@ UtilsAdapter::setAppValue(const Settings::Key key, const QVariant& value)
Q_EMIT showExperimentalSwarm();
else if (key == Settings::Key::BaseZoom)
Q_EMIT changeFontSize();
else if (key == Settings::Key::ShowChatviewHorizontally)
Q_EMIT chatviewPositionChanged();
}
QString
......
......@@ -112,6 +112,7 @@ Q_SIGNALS:
void debugMessageReceived(const QString& message);
void showExperimentalSwarm();
void changeFontSize();
void chatviewPositionChanged();
private:
QClipboard* clipboard_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment