Fixes: Make QtCreator fly even in face of perforce misconfiguration.
Details: If p4 is in path, but the server isn't configured correctly we were pretty slow, this fixes that by running p4 client -o after the settings have changed, if that doesn't return after 2 seconds, then we cache that as a invalid configuration.
Showing
- src/plugins/cmakeprojectmanager/cmakeprojectmanager.h 2 additions, 2 deletionssrc/plugins/cmakeprojectmanager/cmakeprojectmanager.h
- src/plugins/perforce/perforceplugin.cpp 30 additions, 35 deletionssrc/plugins/perforce/perforceplugin.cpp
- src/plugins/perforce/perforceplugin.h 2 additions, 3 deletionssrc/plugins/perforce/perforceplugin.h
- src/plugins/perforce/perforcesettings.cpp 114 additions, 17 deletionssrc/plugins/perforce/perforcesettings.cpp
- src/plugins/perforce/perforcesettings.h 25 additions, 13 deletionssrc/plugins/perforce/perforcesettings.h
- src/plugins/perforce/settingspage.cpp 28 additions, 14 deletionssrc/plugins/perforce/settingspage.cpp
- src/plugins/perforce/settingspage.h 6 additions, 1 deletionsrc/plugins/perforce/settingspage.h
Loading
Please register or sign in to comment