[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ruqola] src: Use nullptr
From: Montel Laurent <null () kde ! org>
Date: 2017-07-28 5:55:39
Message-ID: E1dayFP-0004lL-W3 () code ! kde ! org
[Download RAW message or body]
Git commit 64e44b8d6204bf3084b0b3e1f6253edbe5e9e6eb by Montel Laurent.
Committed on 28/07/2017 at 05:53.
Pushed by mlaurent into branch 'master'.
Use nullptr
M +1 -0 src/ruqolautils.cpp
M +1 -1 src/ruqolautils.h
https://commits.kde.org/ruqola/64e44b8d6204bf3084b0b3e1f6253edbe5e9e6eb
diff --git a/src/ruqolautils.cpp b/src/ruqolautils.cpp
index 8bb2a46..646b39a 100644
--- a/src/ruqolautils.cpp
+++ b/src/ruqolautils.cpp
@@ -24,6 +24,7 @@
RuqolaUtils *RuqolaUtils::m_self = nullptr;
RuqolaUtils::RuqolaUtils(QObject* parent)
+ : QObject(parent)
{
}
diff --git a/src/ruqolautils.h b/src/ruqolautils.h
index e7622b7..867fae8 100644
--- a/src/ruqolautils.h
+++ b/src/ruqolautils.h
@@ -37,7 +37,7 @@ public:
Q_INVOKABLE QString markdownToRichText(const QString &markDown);
private:
- explicit RuqolaUtils(QObject *parent = 0);
+ explicit RuqolaUtils(QObject *parent = nullptr);
static RuqolaUtils *m_self;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic