1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
agilob 2015-02-26 21:10:35 +00:00
parent ed1cd04340
commit 439dde5c8d
No known key found for this signature in database
GPG Key ID: 34568050DBCCB997

View File

@ -471,6 +471,7 @@ void Widget::onStatusSet(Status status)
void Widget::setWindowTitle(const QString& title)
{
QString tmp = title;
/// <[^>]*> Regexp to remove HTML tags, in case someone used them in title
QMainWindow::setWindowTitle("qTox - " + tmp.remove(QRegExp("<[^>]*>")));
}