mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
main window title proper updating
This commit is contained in:
parent
c1ef9115d0
commit
9947a34465
|
@ -26,6 +26,7 @@
|
|||
#include "croppinglabel.h"
|
||||
#include "src/misc/style.h"
|
||||
#include "src/misc/settings.h"
|
||||
#include "src/widget/widget.h"
|
||||
#include <QContextMenuEvent>
|
||||
#include <QMenu>
|
||||
#include <QDrag>
|
||||
|
@ -234,5 +235,8 @@ void FriendWidget::setFriendAlias()
|
|||
Settings::getInstance().setFriendAlias(f->getToxID(), alias);
|
||||
hide();
|
||||
show();
|
||||
|
||||
if (f->getFriendWidget()->isActive())
|
||||
Widget::getInstance()->setWindowTitle(f->getFriendWidget()->getName() + " - qTox");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user