mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
proxyWidget just died
svn path=/trunk/KDE/kdegraphics/okular/; revision=1079309
This commit is contained in:
parent
8112b22ed6
commit
ce5993f614
|
@ -14,7 +14,6 @@
|
|||
#include <qtoolbutton.h>
|
||||
|
||||
#include <klocale.h>
|
||||
#include <kdeversion.h>
|
||||
|
||||
ToolAction::ToolAction( QObject *parent )
|
||||
: KAction( parent )
|
||||
|
@ -72,11 +71,7 @@ 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