On 5/1/16 9:13 AM, Martin Kaiser wrote:
> Hi Gerald, all,
>
> the current master shows this warning on a Qt4 system.
>
> martin@husavik:~/src/wireshark.git$ ./wireshark
> Object::connect: No such slot QScrollBar::setRange(int,int) in overlay_scroll_bar.cpp:74
>
> The offending line is
> connect(this, SIGNAL(rangeChanged(int,int)), &child_sb_, SLOT(setRange(int,int)));
>
> In Qt4, QScrollBar has no setRange() method.
>
> I'm not sure how to implement such things portably without littering the
> code with #if QT_VERSION >= QT_VERSION_CHECK(...) lines.
QScrollBar::setRange exists in Qt4, but it's not a slot. Fix inbound in
change 15215.