Browse Source

Merge branch 'pr1291'

pull/1297/head
tux3 11 years ago
parent
commit
337bf0cd2b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 4
      src/widget/widget.cpp

4
src/widget/widget.cpp

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

Loading…
Cancel
Save