mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
cleanup
This commit is contained in:
parent
7bf3ff1ff4
commit
cb74c734f2
4 changed files with 3 additions and 22 deletions
|
|
@ -7,6 +7,7 @@ GameView::GameView(QGraphicsScene *scene, QWidget *parent)
|
|||
setBackgroundBrush(QBrush(QColor(0, 0, 0)));
|
||||
setRenderHints(QPainter::TextAntialiasing | QPainter::Antialiasing/* | QPainter::SmoothPixmapTransform*/);
|
||||
setDragMode(RubberBandDrag);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setViewportUpdateMode(BoundingRectViewportUpdate);
|
||||
|
||||
connect(scene, SIGNAL(sceneRectChanged(const QRectF &)), this, SLOT(updateSceneRect(const QRectF &)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue