equal
deleted
inserted
replaced
241 QSizeF HbToolButtonPrivate::getMinimumSize() |
241 QSizeF HbToolButtonPrivate::getMinimumSize() |
242 { |
242 { |
243 Q_Q(HbToolButton); |
243 Q_Q(HbToolButton); |
244 mRepolishRequested = true; |
244 mRepolishRequested = true; |
245 polishPending = false; |
245 polishPending = false; |
246 q->updateGeometry(); |
|
247 QSizeF size = q->minimumSize(); |
|
248 //Workaround (causing extra polish) |
246 //Workaround (causing extra polish) |
249 mSizeHintPolish = false; |
247 mSizeHintPolish = false; |
250 //workaround ends |
248 //workaround ends |
|
249 q->updateGeometry(); |
|
250 QCoreApplication::sendPostedEvents(q, QEvent::LayoutRequest); |
|
251 QSizeF size = q->minimumSize(); |
251 return size; |
252 return size; |
252 } |
253 } |
253 |
254 |
254 void HbToolButtonPrivate::_q_actionTriggered() |
255 void HbToolButtonPrivate::_q_actionTriggered() |
255 { |
256 { |