summaryrefslogtreecommitdiff
path: root/src/cgalworker.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-24 19:16:58 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-24 19:16:58 (GMT)
commit27ce04ef90533ef2f6ad80c3c8b6748a23cdc624 (patch)
treed09f99c1222e2eb3e8d6e452753f265d921971f1 /src/cgalworker.cc
parent95e399e06c6522f3fa67679808a1d52815368efa (diff)
Related to #372. Fixes crash on systems where the stack size for new threads is to small
Diffstat (limited to 'src/cgalworker.cc')
-rw-r--r--src/cgalworker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgalworker.cc b/src/cgalworker.cc
index 96fead9..f011262 100644
--- a/src/cgalworker.cc
+++ b/src/cgalworker.cc
@@ -9,6 +9,7 @@
CGALWorker::CGALWorker()
{
this->thread = new QThread();
+ if (this->thread->stackSize() < 1024*1024) this->thread->setStackSize(1024*1024);
connect(this->thread, SIGNAL(started()), this, SLOT(work()));
moveToThread(this->thread);
}
contact: Jan Huwald // Impressum