diff -r 500c085d2133 -r 909fe96e5659 ui/qt/graphics.cpp --- a/ui/qt/graphics.cpp Sun Jan 24 19:57:16 2016 +0100 +++ b/ui/qt/graphics.cpp Sun Jan 24 22:20:47 2016 +0100 @@ -112,6 +112,12 @@ gr->painter->setPen(gr->color); } +void ui_draw_line(UiGraphics *g, int x1, int y1, int x2, int y2) { + UiQtGraphics *gr = (UiQtGraphics*)g; + + gr->painter->drawLine(x1, y1, x2, y2); +} + void ui_draw_rect(UiGraphics *g, int x, int y, int w, int h, int fill) { UiQtGraphics *gr = (UiQtGraphics*)g;