use the new proxyWidget member if you are on the edge

svn path=/trunk/KDE/kdegraphics/okular/; revision=1079219
This commit is contained in:
Albert Astals Cid 2010-01-23 21:32:34 +00:00
parent a1d64f2944
commit dfac3d0236

View file

@ -71,7 +71,11 @@ QWidget* ToolAction::createWidget( QWidget *parent )
button->setToolTip( i18n("Click to use the current selection tool\nClick and hold to choose another selection tool") );
}
#if KDE_IS_VERSION( 4, 4, 60 )
return proxyWidget(button);
#else
return button;
#endif
}
void ToolAction::slotNewDefaultAction( QAction *action )