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

fix(title): Change title on initial startup on "Add friend"

Fixes #3100.
This commit is contained in:
Diadlo 2016-04-10 11:36:14 +03:00
parent d58922c667
commit 47d940455d

View File

@ -634,7 +634,7 @@ void Widget::onSeparateWindowChanged(bool separate, bool clicked)
setMinimumWidth(775); setMinimumWidth(775);
onSettingsClicked(); onAddClicked();
} }
else else
{ {
@ -2168,7 +2168,7 @@ void Widget::retranslateUi()
actionQuit->setText(tr("Exit", "Tray action menu to exit tox")); actionQuit->setText(tr("Exit", "Tray action menu to exit tox"));
if (!Settings::getInstance().getSeparateWindow()) if (!Settings::getInstance().getSeparateWindow())
setWindowTitle(fromDialogType(SettingDialog)); setWindowTitle(fromDialogType(AddDialog));
friendRequestsUpdate(); friendRequestsUpdate();
groupInvitesUpdate(); groupInvitesUpdate();