1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

[test] use BspTreeIndex (might be slower?)

This commit is contained in:
krepa098 2015-01-06 15:38:05 +01:00
parent 6c6d0254fc
commit b92d4f3d2f

View File

@ -39,7 +39,7 @@ ChatLog::ChatLog(QWidget* parent)
: QGraphicsView(parent) : QGraphicsView(parent)
{ {
scene = new QGraphicsScene(this); scene = new QGraphicsScene(this);
scene->setItemIndexMethod(QGraphicsScene::NoIndex); scene->setItemIndexMethod(QGraphicsScene::BspTreeIndex);
setScene(scene); setScene(scene);
setInteractive(true); setInteractive(true);