[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 05/06: Improve readability of view check.

noreply at xfce.org noreply at xfce.org
Thu Jan 30 22:17:17 CET 2020


This is an automated email from the git hooks/post-receive script.

g   o   t   t   c   o   d   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit ddcf30edc6c346ce4d9dd96d49097a71167f7e4c
Author: Graeme Gott <graeme at gottcode.org>
Date:   Thu Jan 30 15:25:57 2020 -0500

    Improve readability of view check.
---
 panel-plugin/page.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/page.cpp b/panel-plugin/page.cpp
index d7ffc4c..421d08b 100644
--- a/panel-plugin/page.cpp
+++ b/panel-plugin/page.cpp
@@ -90,7 +90,7 @@ void Page::reset_selection()
 
 void Page::update_view()
 {
-	if ((dynamic_cast<LauncherIconView*>(m_view) != 0) == wm_settings->view_as_icons)
+	if (dynamic_cast<LauncherIconView*>(m_view) && wm_settings->view_as_icons)
 	{
 		return;
 	}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list