mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
+comment
This commit is contained in:
parent
ed1cd04340
commit
439dde5c8d
|
@ -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("<[^>]*>")));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user