]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.h
Initialize class members to please coverity
[lyx.git] / src / frontends / qt4 / qt_helpers.h
index 90f2017f43330a625e4fe8af337567aea5c997cb..f59b22ee76c28a46a9142d03ca5e19a8a0d2a374 100644 (file)
@@ -80,6 +80,9 @@ bool ColorSorter(ColorCode lhs, ColorCode rhs);
 /// colors a widget red if invalid
 void setValid(QWidget * widget, bool valid);
 
+// set focus and highlight the current item if there is no selection already
+void focusAndHighlight(QAbstractItemView * w);
+
 /// Qt5 changed setSectionMode to setSectionResizeMode
 /// These wrappers work for Qt4 and Qt5
 void setSectionResizeMode(QHeaderView * view,