void ViewItem::drag()
{
if (is_draggable())
- drag_point_ = point(QRect());
+ drag_point_ = drag_point(QRect());
}
void ViewItem::drag_release()
(void)pp;
}
-QColor ViewItem::select_text_colour(QColor background)
+QColor ViewItem::select_text_color(QColor background)
{
return (background.lightness() > 110) ? Qt::black : Qt::white;
}