Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.2
-
None
-
Windows 7, Qt 5.3.2 MSVC2013
Description
With default style, sort indicator/arrow behaves normaly.
When set "Fusion" style, arrow is upside down.
#include <QtGui> #include <QtWidgets> #include <QtCore> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMainWindow *window = new QMainWindow; QTableView *tableView = new QTableView; window->setCentralWidget(tableView); tableView->setSortingEnabled(true); QApplication::setStyle(QStyleFactory::create("Fusion")); QStandardItemModel *model = new QStandardItemModel; model->appendRow(QList<QStandardItem*>() << new QStandardItem("a")); model->appendRow(QList<QStandardItem*>() << new QStandardItem("b")); model->appendRow(QList<QStandardItem*>() << new QStandardItem("c")); tableView->setModel(model); window->show(); return a.exec(); }