Git: Use QtcProcess in ChangeSelectionDialog

Change-Id: I7a9d408c007de1f6ea0d17f6fff9cc8b4dcb7b9c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2021-08-20 08:30:26 +02:00
parent 7bc8672968
commit dce88c29a7
2 changed files with 13 additions and 13 deletions

View File

@@ -32,10 +32,11 @@
#include <QDialog>
QT_BEGIN_NAMESPACE
class QProcess;
class QStringListModel;
QT_END_NAMESPACE
namespace Utils { class QtcProcess; }
namespace Git {
namespace Internal {
@@ -64,7 +65,7 @@ public:
private:
void selectCommitFromRecentHistory();
void setDetails(int exitCode);
void setDetails();
void recalculateCompletion();
void recalculateDetails();
void changeTextChanged(const QString &text);
@@ -75,7 +76,7 @@ private:
Ui::ChangeSelectionDialog *m_ui;
QProcess *m_process = nullptr;
Utils::QtcProcess *m_process = nullptr;
Utils::FilePath m_gitExecutable;
Utils::Environment m_gitEnvironment;
ChangeCommand m_command = NoCommand;