]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Fix uninitialised value
[dolphin.git] / src / views / dolphinview.h
index fc5fd52ff935a3343610a2204ab192a7345156ee..dbb304f379a94b86faa6eea3d65f6c30cc777a2d 100644 (file)
@@ -886,7 +886,7 @@ private:
 
     void updatePlaceholderLabel();
 
-    void tryShowNameToolTip(QHelpEvent *event);
+    bool tryShowNameToolTip(QHelpEvent *event);
 
 private:
     void updatePalette();
@@ -939,6 +939,9 @@ private:
     QLabel *m_placeholderLabel;
     QTimer *m_showLoadingPlaceholderTimer;
 
+    /// The information roleIndex of the list column header currently hovered
+    std::optional<int> m_hoveredColumnHearderRoleIndex;
+
     /// Used for selection mode. @see setSelectionMode()
     std::unique_ptr<QProxyStyle> m_proxyStyle;