Commit 9f8a9f94 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr as flag value

parent a05dc102
......@@ -51,7 +51,7 @@ Dictionary::Dictionary(QWidget *p) : QWidget(p)
m_example=new QLabel(descr);
m_funcs=new Analitza::PlotsModel(descr);
m_graph=new Analitza::PlotsView2D(descr);
m_graph->setTicksShown(0);
m_graph->setTicksShown(Qt::Orientation(0));
m_graph->setModel(m_funcs);
m_graph->setReadOnly(true);
m_graph->setViewport(QRect(QPoint(-30, 7), QPoint(30, -7)));
......
......@@ -199,7 +199,7 @@ KAlgebra::KAlgebra(QWidget *parent)
b_funcsModel=new Analitza::PlotsModel(this);
m_graph2d = new Analitza::PlotsView2D(m_tabs);
m_graph2d->setTicksShown(0);
m_graph2d->setTicksShown(Qt::Orientation(0));
m_graph2d->setModel(b_funcsModel);
b_dock_funcs = new QDockWidget(i18n("Functions"), this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment