Commit 453fc085 authored by Laurent Montel's avatar Laurent Montel 😁

Fix some clazy warning

parent 42cf8db8
......@@ -27,6 +27,7 @@ class KNotesApp;
class Application : public KontactInterface::PimUniqueApplication
{
Q_OBJECT
public:
Application(int &argc, char **argv[]);
~Application() override;
......
......@@ -78,10 +78,8 @@ static bool qActionLessThan(const QAction *a1, const QAction *a2)
return a1->text() < a2->text();
}
KNotesApp::KNotesApp()
: QWidget()
, m_publisher(nullptr)
, mDebugAkonadiSearch(false)
KNotesApp::KNotesApp(QWidget *parent)
: QWidget(parent)
{
Akonadi::ControlGui::widgetNeedsAkonadi(this);
......
......@@ -48,7 +48,7 @@ class KNotesApp : public QWidget, virtual public KXMLGUIClient
{
Q_OBJECT
public:
KNotesApp();
explicit KNotesApp(QWidget *parent = nullptr);
~KNotesApp();
public Q_SLOTS:
......
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