comparison hgrunner.cpp @ 11:45c4ac1323b2

Version 0.4.2: Added hg serve. Can commit one file.
author Jari Korhonen <jtkorhonen@gmail.com>
date Sat, 15 May 2010 17:34:23 +0300
parents a9098eba2ee5
children 45bfb8dc1faf
comparison
equal deleted inserted replaced
10:efb7b1654af4 11:45c4ac1323b2
80 80
81 void HgRunner::error(QProcess::ProcessError) 81 void HgRunner::error(QProcess::ProcessError)
82 { 82 {
83 setProcExitInfo(proc -> exitCode(), proc -> exitStatus()); 83 setProcExitInfo(proc -> exitCode(), proc -> exitStatus());
84 84
85 presentErrorToUser(); 85 if (reportErrors)
86 {
87 presentErrorToUser();
88 }
86 89
87 isRunning = false; 90 isRunning = false;
88 } 91 }
89 92
90 QString HgRunner::getLastCommandLine() 93 QString HgRunner::getLastCommandLine()