mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user