mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 13:11:41 +00:00
use the new proxyWidget member if you are on the edge
svn path=/trunk/KDE/kdegraphics/okular/; revision=1079219
This commit is contained in:
parent
a1d64f2944
commit
dfac3d0236
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue