summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/Trellis/QtGridSelectionDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
index a914b2c..30248b0 100644
--- a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
+++ b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp
@@ -21,13 +21,13 @@ QtGridSelectionDialog::QtGridSelectionDialog(QWidget* parent) : QWidget(parent)
minGridSize = QSize(1,1);
currentGridSize = QSize(1,1);
padding = 4;
setWindowFlags(Qt::Popup);
horizontalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin);
verticalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin);
-
+ setCursor(Qt::SizeAllCursor);
}
QSize QtGridSelectionDialog::sizeHint() const
{
// PM_MenuVMargin | frameSize | ( padding | frameSize ) * | PM_MenuVMargin
int width = horizontalMargin + frameSize.width() + (padding + frameSize.width()) * (currentGridSize.width() - 1) + horizontalMargin;