forked from qt-creator/qt-creator
ClangFormat: Fix the "Open Used .clang-format File" function
- FilePathify related functions - Logic of related functions were updated to use new configuration files location and new settings variables Change-Id: I9f5504fc72f5c051a83dc80e1feb2e13272de146 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -113,7 +113,7 @@ bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
[openClangFormatConfigAction] {
|
||||
const FilePath fileName = FilePath::fromVariant(openClangFormatConfigAction->data());
|
||||
if (!fileName.isEmpty())
|
||||
EditorManager::openEditor(FilePath::fromString(configForFile(fileName)));
|
||||
EditorManager::openEditor(configForFile(fileName));
|
||||
});
|
||||
|
||||
connect(EditorManager::instance(),
|
||||
|
||||
Reference in New Issue
Block a user