fix build

Change-Id: Ibb1d5a0a5432f8638d33251a8be6b3762f236265
This commit is contained in:
Marco Martin 2014-11-03 11:54:26 +01:00
parent cb3c53a616
commit bb0bd0a4c5

View File

@ -1030,7 +1030,7 @@ bool Dialog::event(QEvent *event)
/*Fitt's law: if the containment has margins, and the mouse cursor clicked
* on the mouse edge, forward the click in the containment boundaries
*/
id (d->mainItem) {
if (d->mainItem) {
switch (event->type()) {
case QEvent::MouseMove:
case QEvent::MouseButtonPress: