fix Coverity issues

This commit is contained in:
wmayer
2016-08-21 14:03:02 +02:00
parent 8cc3ee64e8
commit 0824c5fd3c
29 changed files with 621 additions and 543 deletions

View File

@@ -39,7 +39,7 @@ using namespace Gui;
* Constructs a TextEdit which is a child of 'parent'.
*/
TextEdit::TextEdit(QWidget* parent)
: QPlainTextEdit(parent), listBox(0)
: QPlainTextEdit(parent), cursorPosition(0), listBox(0)
{
//Note: Set the correct context to this shortcut as we may use several instances of this
//class at a time