1
0
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:
apprb 2014-11-08 01:50:39 +09:00
parent c1ef9115d0
commit 9947a34465
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B

View File

@ -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");
}
}