Mercurial > projects > qtd
diff examples/qwt/simpleplot/simple.d @ 380:beb04f46ef4a
fix NULL default values
author | Eldar Insafutdinov |
---|---|
date | Sat, 10 Jul 2010 22:32:16 +0100 |
parents | a795eeb3b21f |
children | 347e4c7a9ba1 |
line wrap: on
line diff
--- a/examples/qwt/simpleplot/simple.d Sat Jul 10 22:16:33 2010 +0100 +++ b/examples/qwt/simpleplot/simple.d Sat Jul 10 22:32:16 2010 +0100 @@ -73,9 +73,8 @@ public: this() { - super(cast(QWidget)null); setTitle("A Simple QwtPlot Demonstration"); - insertLegend(new QwtLegend(cast(QWidget)null), QwtPlot.RightLegend); + insertLegend(new QwtLegend(), QwtPlot.RightLegend); // Set axis titles setAxisTitle(xBottom, "x -->");