mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr2769'
This commit is contained in:
commit
d07bef21a3
|
@ -1094,7 +1094,7 @@ QSplitter:handle{
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>775</width>
|
||||
<height>284</height>
|
||||
<height>279</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_5"/>
|
||||
|
|
|
@ -785,6 +785,7 @@ void Widget::onSettingsClicked()
|
|||
settingsWidget->show(createContentDialog(SettingDialog));
|
||||
|
||||
setActiveToolMenuButton(Widget::None);
|
||||
settingsWidget->setWindowIcon(QIcon(":/img/icons/qtox.svg"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -803,6 +804,7 @@ void Widget::showProfile() // onAvatarClicked, onUsernameClicked
|
|||
profileForm->show(createContentDialog(ProfileDialog));
|
||||
|
||||
setActiveToolMenuButton(Widget::None);
|
||||
settingsWidget->setWindowIcon(QIcon(":/img/icons/qtox.svg"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1368,6 +1370,7 @@ ContentLayout* Widget::createContentDialog(DialogType type)
|
|||
void retranslateUi()
|
||||
{
|
||||
setWindowTitle(Core::getInstance()->getUsername() + QStringLiteral(" - ") + Widget::fromDialogType(type));
|
||||
setWindowIcon(QIcon(":/img/icons/qtox.svg"));
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue
Block a user