diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2011-06-01 14:49:36 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2011-06-01 14:49:36 (GMT) |
commit | 02c7d2d114bf2f5fb2a1947e6370046f0141499b (patch) | |
tree | f136de24ef63fa621defc663ded66640ad8da052 /src | |
parent | 9a4d1230b54c15af6f5448c1551c35242b668ccf (diff) | |
download | Qt-02c7d2d114bf2f5fb2a1947e6370046f0141499b.zip Qt-02c7d2d114bf2f5fb2a1947e6370046f0141499b.tar.gz Qt-02c7d2d114bf2f5fb2a1947e6370046f0141499b.tar.bz2 |
make sure we really clear all locks
Merge-request: 1237
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/embedded/qlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/embedded/qlock.cpp b/src/gui/embedded/qlock.cpp index e7db7e6..8f24e7d 100644 --- a/src/gui/embedded/qlock.cpp +++ b/src/gui/embedded/qlock.cpp @@ -194,7 +194,7 @@ QLock::QLock(const QString &filename, char id, bool create) QLock::~QLock() { - if (locked()) + while (locked()) unlock(); #ifdef Q_NO_SEMAPHORE if(isValid()) { |