diff options
| author | Marius Kintel <marius@kintel.net> | 2013-05-24 19:16:58 (GMT) |
|---|---|---|
| committer | Marius Kintel <marius@kintel.net> | 2013-05-24 19:16:58 (GMT) |
| commit | 27ce04ef90533ef2f6ad80c3c8b6748a23cdc624 (patch) | |
| tree | d09f99c1222e2eb3e8d6e452753f265d921971f1 /src | |
| parent | 95e399e06c6522f3fa67679808a1d52815368efa (diff) | |
Related to #372. Fixes crash on systems where the stack size for new threads is to small
Diffstat (limited to 'src')
| -rw-r--r-- | src/cgalworker.cc | 1 |
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); } |
