Commit 8aac5b4b authored by David Faure's avatar David Faure
Browse files

Fix two warnings

parent 92fc4a96
...@@ -92,7 +92,7 @@ static const QList<KConfigGroup> windowConfigGroups(/*NOT const, we'll use write ...@@ -92,7 +92,7 @@ static const QList<KConfigGroup> windowConfigGroups(/*NOT const, we'll use write
} }
SessionRestoreDialog::SessionRestoreDialog(const QStringList &sessionFilePaths, QWidget *parent) SessionRestoreDialog::SessionRestoreDialog(const QStringList &sessionFilePaths, QWidget *parent)
: QDialog(parent, nullptr) : QDialog(parent)
, m_sessionItemsCount(0) , m_sessionItemsCount(0)
, m_dontShowChecked(false) , m_dontShowChecked(false)
{ {
......
...@@ -47,7 +47,7 @@ public: ...@@ -47,7 +47,7 @@ public:
* @param parent The parent widgets. * @param parent The parent widgets.
* @param flags The Qt window flags @see QWidget. * @param flags The Qt window flags @see QWidget.
*/ */
explicit KTabWidget(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr); explicit KTabWidget(QWidget *parent = nullptr, Qt::WindowFlags flags = {});
/** /**
* Destroys the tab widget. * Destroys the tab widget.
......
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