diff --git a/example/gdpbarchart/gdpbarchart.pro b/example/gdpbarchart/gdpbarchart.pro index 73231c1..b31d903 100644 --- a/example/gdpbarchart/gdpbarchart.pro +++ b/example/gdpbarchart/gdpbarchart.pro @@ -24,8 +24,8 @@ HEADERS += widget.h COPY_DATABASE_COMMAND = "cp gdpData $$CHART_BUILD_BIN_DIR/gdpData" -win32:{ - COPY_DATABASE_COMMAND = $$replace(COPY_DATABASE_COMMAND, "/","\\") +win32 { + COPY_DATABASE_COMMAND = $$replace(COPY_DATABASE_COMMAND, /,\\) } QMAKE_POST_LINK = $$COPY_DATABASE_COMMAND diff --git a/example/gdpbarchart/widget.cpp b/example/gdpbarchart/widget.cpp index 9023d46..19c1c05 100644 --- a/example/gdpbarchart/widget.cpp +++ b/example/gdpbarchart/widget.cpp @@ -88,6 +88,7 @@ Widget::~Widget() */ void Widget::refreshChart() { +// chartArea-> // selected countries items list is not sorted. copy the values to QStringlist and sort them. QStringList selectedCountriesStrings; QList selectedCountriesItems = countrieslist->selectedItems();