diff options
author | Tobias Markmann <tm@ayena.de> | 2015-04-02 15:20:41 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-04-03 11:34:00 (GMT) |
commit | 6a97629d10651c65936f5b8fb47334df083fc546 (patch) | |
tree | 14df5f2809f4f7f78c5466ffafc41fb59d166eae /Swift | |
parent | b41695a739c2b75973b8d22e2be39add7051d076 (diff) | |
download | swift-6a97629d10651c65936f5b8fb47334df083fc546.zip swift-6a97629d10651c65936f5b8fb47334df083fc546.tar.bz2 |
Use SizeAllCursor for trellis resize dialog
This is should be a union of the two diagonal resize cursors on most
systems and is provided by Qt.
Test-Information:
Tested on Windows 7 and OS X 10.9.5. On OS X the cursor does not look
like the union of the two diagonal resize cursors with Qt 5.4.1.
Change-Id: I442f7e25b9bf0a3e6868cbcc9bd0a48d24da718d
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/Trellis/QtGridSelectionDialog.cpp | 2 |
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 @@ -24,7 +24,7 @@ QtGridSelectionDialog::QtGridSelectionDialog(QWidget* parent) : QWidget(parent) setWindowFlags(Qt::Popup); horizontalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin); verticalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin); - + setCursor(Qt::SizeAllCursor); } QSize QtGridSelectionDialog::sizeHint() const |