1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #4340

ezavod (1):
      fix(settings): changing language sets title to "Add Friend"
This commit is contained in:
sudden6 2017-05-07 16:08:06 +02:00
commit c41f533818
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -2320,8 +2320,9 @@ void Widget::retranslateUi()
actionQuit->setText(tr("Exit", "Tray action menu to exit tox"));
actionShow->setText(tr("Show", "Tray action menu to show qTox window"));
if (!Settings::getInstance().getSeparateWindow())
setWindowTitle(fromDialogType(DialogType::AddDialog));
if (!Settings::getInstance().getSeparateWindow() && (settingsWidget && settingsWidget->isShown())) {
setWindowTitle(fromDialogType(DialogType::SettingDialog));
}
friendRequestsUpdate();
groupInvitesUpdate();