mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
Fix Chat Font setting saving.
And don't use native dialog.
This commit is contained in:
parent
86118d9de6
commit
7acefda943
3 changed files with 6 additions and 4 deletions
|
@ -1440,7 +1440,8 @@ void ChatWidget::colorChanged()
|
|||
void ChatWidget::chooseFont()
|
||||
{
|
||||
bool ok;
|
||||
QFont font = QFontDialog::getFont(&ok, currentFont, this);
|
||||
//Use NULL as parent as with this QFontDialog don't take care of title nether options.
|
||||
QFont font = QFontDialog::getFont(&ok, currentFont, NULL, tr("Choose your font."),QFontDialog::DontUseNativeDialog);
|
||||
if (ok) {
|
||||
currentFont = font;
|
||||
setFont();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue