Changeset View
Changeset View
Standalone View
Standalone View
kdecoration/breezesizegrip.cpp
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 34 | { | |||
---|---|---|---|---|---|
157 | { | 157 | { | ||
158 | 158 | | |||
159 | switch (event->button()) | 159 | switch (event->button()) | ||
160 | { | 160 | { | ||
161 | 161 | | |||
162 | case Qt::RightButton: | 162 | case Qt::RightButton: | ||
163 | { | 163 | { | ||
164 | hide(); | 164 | hide(); | ||
165 | QTimer::singleShot(5000, this, SLOT(show())); | 165 | QTimer::singleShot(5000, this, &QWidget::show); | ||
166 | break; | 166 | break; | ||
167 | } | 167 | } | ||
168 | 168 | | |||
169 | case Qt::MidButton: | 169 | case Qt::MidButton: | ||
170 | { | 170 | { | ||
171 | hide(); | 171 | hide(); | ||
172 | break; | 172 | break; | ||
173 | } | 173 | } | ||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |