diff options
author | Slávek Banko <[email protected]> | 2013-11-27 18:34:44 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-11-27 19:30:27 +0100 |
commit | d1eefaae6a1459647e5199057b39de1e7b15e973 (patch) | |
tree | ac1fef5e420a39e23156710d2448bf07275987a2 | |
parent | ba5469bc7a14cc388b4f690c7ef658812d23deb0 (diff) | |
download | tdegraphics-d1eefaae6a1459647e5199057b39de1e7b15e973.tar.gz tdegraphics-d1eefaae6a1459647e5199057b39de1e7b15e973.zip |
Fix kview crash while closing session
-rw-r--r-- | kview/kview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kview.cpp b/kview/kview.cpp index f91942d1..3c487eac 100644 --- a/kview/kview.cpp +++ b/kview/kview.cpp @@ -251,7 +251,7 @@ void KView::readSettings() // TDEConfig * config ) bool KView::eventFilter( TQObject * obj, TQEvent * ev ) { - if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) && ev->type() == TQEvent::Resize ) + if( ev->type() == TQEvent::Resize && TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_pViewer->widget()) ) { if( m_nResizeMode == ResizeImage ) handleResize(); |