From 73213435f0f32422cd089cdc5aa312f8036bc3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 3 May 2017 17:03:11 +0200 Subject: [PATCH] [escher] Initiate the buffer to "" in buffer text view Change-Id: Ib197d9a70261811d7dcb778cf91d17b4670ea5e9 --- escher/src/buffer_text_view.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/escher/src/buffer_text_view.cpp b/escher/src/buffer_text_view.cpp index d372edff2..f0eeab469 100644 --- a/escher/src/buffer_text_view.cpp +++ b/escher/src/buffer_text_view.cpp @@ -4,7 +4,8 @@ BufferTextView::BufferTextView(KDText::FontSize size, float horizontalAlignment, float verticalAlignment, KDColor textColor, KDColor backgroundColor) : - TextView(size, horizontalAlignment, verticalAlignment, textColor, backgroundColor) + TextView(size, horizontalAlignment, verticalAlignment, textColor, backgroundColor), + m_buffer("") { }