Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.2.1
-
MacOS X 10.9
Description
QTreeWidget auto expand doesn't work on Mac. QTreeWidget::setAutoExpandDelay() documentation says that settings delay it enables auto expanding for drag and drop. Try to drag file and hover on below application treeview and nothing happens on Mac. On Windows it expands item under mouse fine.
#include <QtWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QFileSystemModel filemodel; filemodel.setRootPath(QDir::currentPath()); QTreeView treeView; treeView.setModel(&filemodel); treeView.setAcceptDrops(true); treeView.setAutoExpandDelay(500); treeView.show(); return app.exec(); }