Commit 8c091585 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

some cleanup

parent f42a8446
......@@ -70,10 +70,10 @@ class Q_DECL_EXPORT ActionData
virtual void set_triggers( Trigger_list* triggers_P );
virtual void add_action( Action* action_P, Action* after_P = 0 );
virtual void add_action( Action* action_P, Action* after_P = nullptr );
virtual void add_actions( ActionList* actions_P,
Action* after_P = 0 ); // ActionList will be deleted
Action* after_P = nullptr ); // ActionList will be deleted
virtual void set_actions( ActionList* actions_P );
......
......@@ -50,9 +50,9 @@ public:
protected:
void doEnable();
void doEnable() override;
void doDisable();
void doDisable() override;
}; // class SimpleActionData
......
......@@ -93,7 +93,7 @@ void MenuEntryAction::execute()
return;
}
if (!KRun::run( *service(), KUrl::List(), 0 ))
if (!KRun::run( *service(), KUrl::List(), nullptr ))
{
KMessageBox::sorry(
nullptr,
......
Markdown is supported
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