[vlc-devel] [PATCH] slider doesn't jump to the correct position
Hannes Domani
ssbssa at yahoo.de
Tue Aug 7 12:11:22 CEST 2007
Hello
in directslider.hpp sizeHint().width() (it's windows)
returned some interesting values.
since recently some layout-related parts were changed
in main_interface.cpp, i just did the same with the
slider, and it worked again.
but what i really don't understand: why does width()
return wrong values?
part of interest in directslider.hpp:
#ifdef WIN32
int width1 =
qobject_cast<QWidget*>(parent())->sizeHint().width() -
2 *
qobject_cast<QWidget*>(parent())->layout()->margin();
#else
int width1 = width();
#endif
regards
Domani Johannes
__________________________________
Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: directslider.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070807/848ac7d4/attachment.ksh>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list