forked from qt-creator/qt-creator
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c67f7f6349
commit
ad9e7ccab6
@@ -920,9 +920,9 @@ void GitPlugin::gitkForCurrentFolder()
|
||||
*
|
||||
*/
|
||||
QDir dir(state.currentFileDirectory());
|
||||
if (QFileInfo(dir,QLatin1String(".git")).exists() || dir.cd(QLatin1String(".git")))
|
||||
if (QFileInfo(dir,QLatin1String(".git")).exists() || dir.cd(QLatin1String(".git"))) {
|
||||
m_gitClient->launchGitK(state.currentFileDirectory());
|
||||
else {
|
||||
} else {
|
||||
QString folderName = dir.absolutePath();
|
||||
dir.cdUp();
|
||||
folderName = folderName.remove(0, dir.absolutePath().length() + 1);
|
||||
|
Reference in New Issue
Block a user