[apps/graph] Function store a color

Change-Id: I1339f999b9c41a4293dfc5211d2183db46300ecf
This commit is contained in:
Romain Goyet
2016-08-29 13:27:47 +02:00
parent 94b73b15d2
commit 14cf96157c
4 changed files with 13 additions and 4 deletions

View File

@@ -7,8 +7,9 @@ Graph::Function::Function() :
{
}
Graph::Function::Function(const char * text) :
Graph::Function::Function(const char * text, KDColor color) :
m_text(text), // FIXME: Copy !!
m_color(color),
m_expression(nullptr),
m_layout(nullptr)
{