Skip to content
Snippets Groups Projects
Commit a72b5ee6 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

preview: fix too many calls to stopPreview

Change-Id: I2b42d3d4c5a341333e9b985c488dbd916da2326f
parent 12c404bd
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,6 @@ void MainWindow::changeEvent(QEvent* e)
void MainWindow::closeEvent(QCloseEvent* event)
{
LRCInstance::avModel().stopPreview();
QSettings settings("jami.net", "Jami");
if (LRCInstance::accountModel().getAccountList().size() &&
settings.value(SettingsKey::closeOrMinimized).toBool()) {
......
......@@ -464,10 +464,10 @@ void SettingsWidget::updateAccountInfoDisplayed()
}
// sip avatar set
setAvatar(ui->currentSIPAccountAvatar, true);
setAvatar(ui->currentSIPAccountAvatar, false);
// jami avatar set
setAvatar(ui->currentAccountAvatar, true);
setAvatar(ui->currentAccountAvatar, false);
ui->accountEnableCheckBox->setChecked(accInfo.enabled);
ui->accountSIPEnableCheckBox->setChecked(accInfo.enabled);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment