Commit 498fa4cc authored by Calvin Buckley's avatar Calvin Buckley 🤔

Proxy icon on macOS

Setting the caption afterwards will get us the same caption everywhere
else, but with the added benefit of having the path widget and file
icon appearing on Mac. The window icon should be set to the cachegrind
file type icon instead, but that's neither here nor there.
parent 364495b1
......@@ -1335,6 +1335,7 @@ void QCGTopLevel::setData(TraceData* data)
if (!_data->command().isEmpty())
caption += " [" + _data->command() + ']';
}
setWindowFilePath(QDir::toNativeSeparators(_data->traceName()));
setWindowTitle(caption);
if (!_data || (!_forcePartDock && _data->parts().count()<2))
......
Markdown is supported
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