[elvystrac] r1701 - small fix of pdffiller

  • From: elvys@xxxxxxxxxxxxxxxxxxxxxx
  • To: elvystrac@xxxxxxxxxxxxx
  • Date: Wed, 10 Feb 2010 11:31:24 +0100

Author: JirkaH
Date: 2010-02-10 11:31:24 +0100 (Wed, 10 Feb 2010)
New Revision: 1701

Modified:
   trunk/client/elvys-client/src/pdffiller.cpp
Log:
small fix of pdffiller


Modified: trunk/client/elvys-client/src/pdffiller.cpp
===================================================================
--- trunk/client/elvys-client/src/pdffiller.cpp 2010-02-10 10:14:53 UTC (rev 
1700)
+++ trunk/client/elvys-client/src/pdffiller.cpp 2010-02-10 10:31:24 UTC (rev 
1701)
@@ -198,6 +198,7 @@
                QThread::exit();
                return;
        }
+
        qDebug() << "za initem";
        forever {
                mutexCond.lock();
@@ -212,6 +213,7 @@
                                return;
                        }
                        condition.wait(&mutexCond);
+                       mutexCond.unlock();
                        continue;
                }
 
@@ -256,12 +258,13 @@
                                }
                        }
                        restart = false;
-                       mutexCond.unlock();
                        rendering = false;
+                       mutexCond.unlock();                     
                        continue;
                } else if (quit) {
                        qDebug() << "REAL QUIT";
                        rendering = false;
+                       mutexCond.unlock();
                        QThread::exit();
                        return;
                } 


Other related posts:

  • » [elvystrac] r1701 - small fix of pdffiller - elvys