]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinnavigatorswidgetaction.h
Fix closing a secondary viewContainer on startup settings change
[dolphin.git] / src / dolphinnavigatorswidgetaction.h
index 6f5f8e7af671c2bd566e17170284ba15b6b46845..3f50728e93778c7e74eb3346b3cc31c26d424e5b 100644 (file)
@@ -216,6 +216,12 @@ private:
     };
 
     ViewGeometriesHelper m_viewGeometriesHelper;
+
+    /**
+     * Used to check if the window has been resized.
+     * @see ViewGeometriesHelper::eventFilter() for why this is needed.
+     */
+    int m_previousWindowWidth = -1;
 };
 
 #endif // DOLPHINNAVIGATORSWIDGETACTION_H