From 8ff2829c737b268a10b049c87cd9e62321207472 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 20 Apr 2010 02:03:19 +0000 Subject: Prevent a Qt race condition where the dialog can be tested as existing, then the dialog pointer can be set to NULL by a dialog internal exit before a subsequent dialog call executes. Essentially these patches lock out the dialog pointer reset until the subsequent dialog call completes after the dialog exist check. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1116662 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/lock/lockprocess.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kdesktop/lock/lockprocess.h') diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h index ee1621bc8..91d7658b2 100644 --- a/kdesktop/lock/lockprocess.h +++ b/kdesktop/lock/lockprocess.h @@ -135,6 +135,7 @@ private: bool mAutoLogout; bool mInfoMessageDisplayed; QDialog *currentDialog; + bool mDialogControLock; bool mForceReject; bool mPipeOpen; -- cgit v1.2.1