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 "croppinglabel.h"
|
||||||
#include "src/misc/style.h"
|
#include "src/misc/style.h"
|
||||||
#include "src/misc/settings.h"
|
#include "src/misc/settings.h"
|
||||||
|
#include "src/widget/widget.h"
|
||||||
#include <QContextMenuEvent>
|
#include <QContextMenuEvent>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QDrag>
|
#include <QDrag>
|
||||||
|
@ -234,5 +235,8 @@ void FriendWidget::setFriendAlias()
|
||||||
Settings::getInstance().setFriendAlias(f->getToxID(), alias);
|
Settings::getInstance().setFriendAlias(f->getToxID(), alias);
|
||||||
hide();
|
hide();
|
||||||
show();
|
show();
|
||||||
|
|
||||||
|
if (f->getFriendWidget()->isActive())
|
||||||
|
Widget::getInstance()->setWindowTitle(f->getFriendWidget()->getName() + " - qTox");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user