Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
13b02723
Commit
13b02723
authored
Jan 07, 2019
by
Andreas Traczyk
Browse files
settings: report changed ringtone
Change-Id: If238f4d355904af389c62db1e6a4e53fe17bb31a
parent
9c9d46b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
advancedsettingswidget.cpp
View file @
13b02723
...
...
@@ -158,7 +158,7 @@ AdvancedSettingsWidget::openFileCustomRingtone()
auto
confProps
=
LRCInstance
::
accountModel
().
getAccountConfig
(
LRCInstance
::
getCurrAccId
());
confProps
.
Ringtone
.
ringtonePath
=
fileUrl
.
toStdString
();
LRCInstance
::
editableAccountModel
()
->
setAccountConfig
(
LRCInstance
::
getCurrAccId
(),
confProps
);
ui
->
btnRingtone
->
setText
(
QFileInfo
(
QString
::
fromStdString
(
LRCInstance
::
getCurrAccConfig
().
Ringtone
.
ringtonePath
)
).
fileName
());
ui
->
btnRingtone
->
setText
(
QFileInfo
(
fileUrl
).
fileName
());
}
else
{
ui
->
btnRingtone
->
setText
(
tr
(
"Add a custom ringtone"
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment