Fix XDataEditor compile error on Windows

.. refactoring to base class of QTableView but forgot to
   update code compiled in Windows only.
This commit is contained in:
Mark Liversedge
2016-07-10 10:08:50 +01:00
parent 1c96edc7c9
commit 544af862ee

View File

@@ -2919,8 +2919,8 @@ XDataEditor::XDataEditor(QWidget *parent, QString xdata) : QTableView(parent), x
#ifdef Q_OS_WIN
QStyle *cde = QStyleFactory::create(OS_STYLE);
table->verticalScrollBar()->setStyle(cde);
table->horizontalScrollBar()->setStyle(cde);
verticalScrollBar()->setStyle(cde);
horizontalScrollBar()->setStyle(cde);
#endif
verticalHeader()->setDefaultSectionSize(20);
setModel(_model);