Commit ec8c2900 authored by Lukáš Tinkl's avatar Lukáš Tinkl
Browse files

fix/restore the Selection Tools functionality in the toolbar

parent 413bb725
......@@ -16,7 +16,7 @@
#include <KLocalizedString>
ToolAction::ToolAction( QObject *parent )
: QAction( parent )
: KSelectAction( parent )
{
setText( i18n( "Selection Tools" ) );
}
......
......@@ -13,11 +13,11 @@
#include <qlist.h>
#include <qpointer.h>
#include <qaction.h>
#include <KSelectAction>
class QToolButton;
class ToolAction : public QAction
class ToolAction : public KSelectAction
{
Q_OBJECT
......@@ -28,7 +28,7 @@ class ToolAction : public QAction
void addAction( QAction *action );
protected:
virtual QWidget* createWidget( QWidget *parent );
QWidget* createWidget( QWidget *parent ) Q_DECL_OVERRIDE;
private slots:
void slotNewDefaultAction( QAction *action );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment