]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphindockwidget.cpp
Prevent unwanted item animations (#2)
[dolphin.git] / src / dolphindockwidget.cpp
index f7ee16fdc975ac1406238d45e7e9f1d2367a3a70..72e06a656bce71c4ffc83871c0f7d8dcea30bbee 100644 (file)
@@ -64,7 +64,7 @@ void DolphinDockWidget::setLocked(bool lock)
         m_locked = lock;
 
         if (lock) {
-            if (m_dockTitleBar == 0) {
+            if (!m_dockTitleBar) {
                 m_dockTitleBar = new DolphinDockTitleBar(this);
             }
             setTitleBarWidget(m_dockTitleBar);