OS X: Title bar can be clicked to access file path

This commit is contained in:
Benjamin Piwowarski 2014-03-17 17:46:14 +01:00 committed by Richard Heck
parent 4e38cf1524
commit 382b42d6c2

View File

@ -1002,6 +1002,9 @@ void GuiView::updateWindowTitle(GuiWorkArea * wa)
return;
setWindowTitle(qt_("LyX: ") + wa->windowTitle());
setWindowIconText(wa->windowIconText());
#if (QT_VERSION >= 0x040400)
setWindowFilePath(wa->bufferView().buffer().absFileName().c_str());
#endif
}