From ba5dcf6330ed1f2e1364435a6b474b221834ffdf Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Jan 2011 08:46:49 +0000 Subject: [PATCH] Remove compilation warning --- src/SUIT/SUIT_ViewWindow.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SUIT/SUIT_ViewWindow.cxx b/src/SUIT/SUIT_ViewWindow.cxx index ad7cb7186..43e736150 100755 --- a/src/SUIT/SUIT_ViewWindow.cxx +++ b/src/SUIT/SUIT_ViewWindow.cxx @@ -228,7 +228,9 @@ bool SUIT_ViewWindow::closable() const */ bool SUIT_ViewWindow::setClosable( const bool on ) { + bool prev = closable(); setProperty( "closable", on ); + return prev; } /*! -- 2.39.2