]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBranches.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiBranches.cpp
index cbef8d399af7990f352be97be5c7554d15dcb30c..aaeab67410c2e53e2e6bfd02f76cf8d43a9dac00 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "GuiBranches.h"
 
+#include "ColorCache.h"
 #include "GuiApplication.h"
 #include "Validator.h"
 #include "qt_helpers.h"
@@ -167,8 +168,7 @@ void GuiBranches::toggleColor(QTreeWidgetItem * item)
                return;
 
        docstring current_branch = qstring_to_ucs4(sel_branch);
-       Branch * branch =
-               branchlist_.find(current_branch);
+       Branch * branch = branchlist_.find(current_branch);
        if (!branch)
                return;