Git - topLeveldir in ChangeSelectionDialog

So ChangeSelectionDialog does not show full path of current file, but
just path to top level dir

Change-Id: I4960009216afc0564b009bbf4f89b676cb92c4df
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Petar Perisin
2013-04-22 20:24:18 +02:00
parent b91462aad1
commit 6f4f47c8d8

View File

@@ -766,7 +766,7 @@ void GitPlugin::startRebase()
void GitPlugin::startChangeRelatedAction()
{
const VcsBase::VcsBasePluginState state = currentState();
const QString workingDirectory = state.currentDirectoryOrTopLevel();
const QString workingDirectory = state.topLevel();
if (workingDirectory.isEmpty())
return;