Skip to content

Commit

Permalink
Fix saveState SEGV
Browse files Browse the repository at this point in the history
.. introduced in previous commit.
  • Loading branch information
liversedge committed May 6, 2016
1 parent 7c9814a commit 8e39d3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Charts/RChart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,11 @@ RChart::getState() const
//XXX FIXME
//if (rtool && splitter) return QString(splitter->saveState());
//else return "";
return "";
}

void
RChart::setState(QString b)
RChart::setState(QString)
{
//XXX FIXME
//if (rtool && splitter && b != "") splitter->restoreState(QByteArray(b.toLatin1()));
Expand Down

0 comments on commit 8e39d3e

Please sign in to comment.