summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageloader.cpp')
-rw-r--r--src/gvcore/imageloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp
index 699d088..c74b7ae 100644
--- a/src/gvcore/imageloader.cpp
+++ b/src/gvcore/imageloader.cpp
@@ -113,7 +113,7 @@ public:
int getch() {
if (mThread->testCancel()) {
LOG("cancel detected");
- seStatus(IO_ReadError);
+ setStatus(IO_ReadError);
return -1;
}
return TQBuffer::getch();