forked from qt-creator/qt-creator
Combine two branches. The function is only used in the remote and the local plain case, and the resulting actions were the same. Change-Id: I30c0b4488f04667d88b69f2c8ecd1dead92e0766 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>