mirror of https://github.com/vitalif/phantomjs
QWidget: Fix unused parameter warning when there's no Graphics View.
This reduces the amount of repetitive compiler warnings. https://github.com/ariya/phantomjs/issues/118801.x
parent
266ef0da59
commit
6b45113cfe
|
@ -611,6 +611,8 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(widget);
|
||||
#endif
|
||||
return screen;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue