aboutsummaryrefslogtreecommitdiffstats
path: root/src/repository.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago@cassini.local.lan>2007-12-24 11:33:32 -0200
committerThiago Macieira <thiago@cassini.local.lan>2007-12-24 11:33:32 -0200
commit3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4 (patch)
tree6a9c857f2fa5870f6f2a7bf1da136ac5c195c109 /src/repository.cpp
parent5b8a1c0c71e75fd613fb1a27c61bdedf11803729 (diff)
downloadsvn2git-3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4.tar
svn2git-3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4.tar.gz
svn2git-3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4.tar.bz2
svn2git-3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4.tar.xz
svn2git-3ffa3592fdcb7fbde29e84f8f72050ba2868e0e4.zip
Avoid warnings on exit
Diffstat (limited to 'src/repository.cpp')
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 205330c..3bbbe7e 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -39,7 +39,7 @@ Repository::Repository(const Rules::Repository &rule)
Repository::~Repository()
{
- if (fastImport.state() == QProcess::Running) {
+ if (fastImport.state() != QProcess::NotRunning) {
fastImport.closeWriteChannel();
fastImport.waitForFinished();
}