Merge pull request #5287

7335ca1 [Qt] Fix height of BitcoinAmountField (Cozz Lovan)
This commit is contained in:
Wladimir J. van der Laan 2014-11-17 11:02:32 +01:00
commit 19f2aa9487
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -130,6 +130,7 @@ public:
extra += hint - style()->subControlRect(QStyle::CC_SpinBox, &opt, extra += hint - style()->subControlRect(QStyle::CC_SpinBox, &opt,
QStyle::SC_SpinBoxEditField, this).size(); QStyle::SC_SpinBoxEditField, this).size();
hint += extra; hint += extra;
hint.setHeight(h);
opt.rect = rect(); opt.rect = rect();