Page MenuHomePhabricator

0001-Fix-PythonQt-related-compilation-error.patch

Authored By
morency
Jun 7 2013, 7:29 PM
Size
998 B
Referenced Files
None
Subscribers
None

0001-Fix-PythonQt-related-compilation-error.patch

From 841c2efa07a080563172722a92a93c4230dde828 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"F=C3=A9lix=20C.=20Morency"?= <felix.c.morency@usherbrooke.ca>
Date: Fri, 7 Jun 2013 12:02:22 -0400
Subject: [PATCH] Fix PythonQt-related compilation error
errorOccured() has been renamed to hadError() in revision 242 of
PythonQt
---
Modules/Python/mitkPythonService.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/Python/mitkPythonService.cpp b/Modules/Python/mitkPythonService.cpp
index 0cb382b..df84c3f 100644
--- a/Modules/Python/mitkPythonService.cpp
+++ b/Modules/Python/mitkPythonService.cpp
@@ -151,7 +151,7 @@ std::string mitk::PythonService::Execute(const std::string &stdpythonCommand, in
if(commandIssued)
{
this->NotifyObserver(pythonCommand.toStdString());
- m_ErrorOccured = PythonQt::self()->errorOccured();
+ m_ErrorOccured = PythonQt::self()->hadError();
}
return result.toString().toStdString();
--
1.7.10.4

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
969
Default Alt Text
0001-Fix-PythonQt-related-compilation-error.patch (998 B)

Event Timeline

Patch that fixes the compilation error