[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/formeditor (silent)
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2009-02-18 20:31:44
Message-ID: 1234989104.829164.583.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 928056 by staniek:

SVN_SILENT fix gcc compilation


 M  +5 -4      container.cpp  


--- trunk/koffice/kexi/formeditor/container.cpp #928055:928056
@@ -292,10 +292,11 @@
             }
             else {
                 // the widget is not yet selected, we add it
-                const Form::WidgetSelectionFlags flags
-                    = Form::AddToPreviousSelection
-                      | Form::LastSelection
-                      | ((mev->button() == Qt::RightButton) ? Form::DontRaise : 0);
+                Form::WidgetSelectionFlags flags = Form::AddToPreviousSelection
+                    | Form::LastSelection;
+                if (mev->button() == Qt::RightButton) {
+                    flags |= Form::DontRaise;
+                }
                 selectWidget(m_moving, flags);
             }
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic