From 03af5f0e490baa017ad6757643dabeffa982996c Mon Sep 17 00:00:00 2001 From: arcan1s Date: Thu, 2 Oct 2014 05:10:02 +0400 Subject: [PATCH] upd task, add ability to use $ symbol over $$ --- sources/awesome-widget/reinit.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sources/awesome-widget/reinit.cpp b/sources/awesome-widget/reinit.cpp index 7e7be4f..f700aa9 100644 --- a/sources/awesome-widget/reinit.cpp +++ b/sources/awesome-widget/reinit.cpp @@ -79,9 +79,12 @@ void AwesomeWidget::updateText(const bool clear) if (debug) qDebug() << PDEBUG; QString text = configuration[QString("text")]; - if (!clear) + if (!clear) { + text.replace(QString("$$"), QString("$\\$\\")); for (int i=0; isetText(formatLine[0] + text + formatLine[1]); update(); }