#include "GuiBranches.h"
-#include "ControlDocument.h"
+#include "ColorCache.h"
#include "GuiApplication.h"
#include "Validator.h"
#include "qt_helpers.h"
QString const bname = toqstr(it->getBranch());
newItem->setText(0, bname);
-
- QString const sel = it->getSelected() ? qt_("Yes") : qt_("No");
- newItem->setText(1, sel);
+ newItem->setText(1, it->getSelected() ? qt_("Yes") : qt_("No"));
QColor const itemcolor = rgb2qcolor(it->getColor());
if (itemcolor.isValid()) {
return;
docstring current_branch = qstring_to_ucs4(sel_branch);
- Branch * branch =
- branchlist_.find(current_branch);
+ Branch * branch = branchlist_.find(current_branch);
if (!branch)
return;