-rw-r--r-- | library/qpeapplication.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 2bd7cbe..953f9d0 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -169,3 +169,3 @@ public: }; - QWidget* qpe_main_widget; + QGuardedPtr<QWidget> qpe_main_widget; QGuardedPtr<QWidget> lastraised; @@ -321,2 +321,5 @@ public: { + if( !w ) + return; + // 350 is the trigger in qwsdefaultdecoration for providing a resize button |