Commit 5bf64407 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Fix one more cppcheck warning.

Add a constructor to initialize member variables.
parent 3edc7b7a
Pipeline #164772 passed with stage
in 42 seconds
......@@ -32,6 +32,12 @@
class WordCompletion::WordCompletionPrivate
{
friend class WordCompletion;
public:
WordCompletionPrivate()
:blockCurrentListSignal(false),
wordsToSave(false)
{}
private:
typedef QMap<QString, int> WordMap;
struct DictionaryDetails {
......@@ -52,8 +58,6 @@ private:
WordCompletion::WordCompletion() : KCompletion()
{
d = new WordCompletionPrivate();
d->blockCurrentListSignal = false;
d->wordsToSave = false;
configure();
}
......
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