[vlc-devel] [PATCH] Qt4: Enable tabs in sout dialog
Jean-Baptiste Kempf
jb at videolan.org
Fri Dec 30 02:41:19 CET 2011
On Thu, Dec 29, 2011 at 08:37:42PM -0500, Edward Wang wrote :
> + QTabBar* tb = ui.destTab->findChild<QTabBar*>();
> + tb->tabButton(0, QTabBar::RightSide)->hide();
You MUST check for NULLity after findChild
> + void closeTab() {
> + closeTab( ui.destTab->currentIndex() );
> + }
> + void closeTab( int );
Do we really need those 2?
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list