changeset 3 | 41300fa6a67c |
parent 0 | 1918ee327afb |
2:56cd8111b7f7 | 3:41300fa6a67c |
---|---|
84 |
84 |
85 void AddressBar::resizeEvent(QResizeEvent *event) |
85 void AddressBar::resizeEvent(QResizeEvent *event) |
86 { |
86 { |
87 int x, y, w, h; |
87 int x, y, w, h; |
88 |
88 |
89 Q_UNUSED(event); |
|
90 |
|
89 m_toolButton->adjustSize(); |
91 m_toolButton->adjustSize(); |
90 x = width() - m_toolButton->width(); |
92 x = width() - m_toolButton->width(); |
91 y = 0; |
93 y = 0; |
92 w = m_toolButton->width(); |
94 w = m_toolButton->width(); |
93 h = height() - 1; |
95 h = height() - 1; |