Commit 4398f6fd authored by Pierre Rossi's avatar Pierre Rossi Committed by Simon Hausmann
Browse files

Update window title

Quick hack
Showing with 2 additions and 0 deletions
......@@ -197,6 +197,8 @@ void Shell::PlatformSetTitle(const string16& title)
return;
std::string title_utf8 = UTF16ToUTF8(title);
if (window_)
reinterpret_cast<QWidget*>(window_)->setWindowTitle(QString::fromStdString(title_utf8));
}
} // namespace content
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment