diff --git a/libs/graphic/graphic.cpp b/libs/graphic/graphic.cpp index 8a200b9..5679481 100644 --- a/libs/graphic/graphic.cpp +++ b/libs/graphic/graphic.cpp @@ -186,7 +186,6 @@ Graphic::Graphic(QWidget * parent): QFrame(parent), canvas(0), line_x_min(this), text_color = palette().color(QPalette::WindowText); grid_pen = QPen(palette().color(QPalette::Disabled, QPalette::WindowText), 0., Qt::DotLine); graphics.append(GraphicType()); - graphics.back().init(); curGraphic = 0; selpen = palette().color(QPalette::WindowText); selpen.setStyle(Qt::DashLine);