René J.V. Bertin
2017-07-06 15:57:28 UTC
rjvbb created this revision.
rjvbb added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Most native Mac applications show the registered icon in the titlebar when a known document type is opened, and provide a path dropdown menu under that icon. Selecting one of the path components in that menu opens the corresponding folder in the Finder.
Qt exposes this feature via `QWidget::setWindowFilePath()`; this change calls the method in `MainWindow::updateCaption()`.
TEST PLAN
works as expected on Mac; has no effect on other platforms (verified on Linux).
REPOSITORY
R33 KDevPlatform
REVISION DETAIL
https://phabricator.kde.org/D6529
AFFECTED FILES
shell/mainwindow.cpp
To: rjvbb, #kdevelop
Cc: kdevelop-devel, kde-mac, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
rjvbb added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Most native Mac applications show the registered icon in the titlebar when a known document type is opened, and provide a path dropdown menu under that icon. Selecting one of the path components in that menu opens the corresponding folder in the Finder.
Qt exposes this feature via `QWidget::setWindowFilePath()`; this change calls the method in `MainWindow::updateCaption()`.
TEST PLAN
works as expected on Mac; has no effect on other platforms (verified on Linux).
REPOSITORY
R33 KDevPlatform
REVISION DETAIL
https://phabricator.kde.org/D6529
AFFECTED FILES
shell/mainwindow.cpp
To: rjvbb, #kdevelop
Cc: kdevelop-devel, kde-mac, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger