diff options
| author | Méven Car <[email protected]> | 2020-12-05 10:19:53 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-12-27 17:18:40 +0000 |
| commit | c1739d5c4d55401a03462467ed446763924be844 (patch) | |
| tree | e45333d7a87a763238f6bb7df5af4c7ae784de82 /src/views/versioncontrol/kversioncontrolplugin.cpp | |
| parent | c6cdf4126afb2d11e0d2621b55e5621b2cf5bab1 (diff) | |
Version Control plugin: allow plugins to return repository root
Currently plugins `fileName()` only return path file extension.
This changes allows plugins to return the absolute file path to their repository root.
CCBUG: 430024
Diffstat (limited to 'src/views/versioncontrol/kversioncontrolplugin.cpp')
| -rw-r--r-- | src/views/versioncontrol/kversioncontrolplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/views/versioncontrol/kversioncontrolplugin.cpp b/src/views/versioncontrol/kversioncontrolplugin.cpp index 2e1a4468b..9cbf0eb5b 100644 --- a/src/views/versioncontrol/kversioncontrolplugin.cpp +++ b/src/views/versioncontrol/kversioncontrolplugin.cpp @@ -15,3 +15,8 @@ KVersionControlPlugin::KVersionControlPlugin(QObject* parent) : KVersionControlPlugin::~KVersionControlPlugin() { } + +QString KVersionControlPlugin::localRepositoryRoot(const QString &/*directory*/) const +{ + return QString(); +} |
