diff --git a/sources/awesome-widget/awesome-widget.cpp b/sources/awesome-widget/awesome-widget.cpp index 9fa2de0..d67ac75 100644 --- a/sources/awesome-widget/awesome-widget.cpp +++ b/sources/awesome-widget/awesome-widget.cpp @@ -83,7 +83,6 @@ void AwesomeWidget::createActions() i18n("Update text"), this)); connect(contextMenu[2], SIGNAL(triggered(bool)), extsysmonEngine, SLOT(updateAllSources())); connect(contextMenu[2], SIGNAL(triggered(bool)), sysmonEngine, SLOT(updateAllSources())); - connect(contextMenu[2], SIGNAL(triggered(bool)), timeEngine, SLOT(updateAllSources())); connect(contextMenu[2], SIGNAL(triggered(bool)), this, SLOT(updateNetworkDevice())); } @@ -111,7 +110,7 @@ int AwesomeWidget::getNumberCpus() { if (debug) qDebug() << PDEBUG; - QString cmd = QString("grep -c '^processor' /proc/cpuinfo"); + QString cmd = QString("grep -c ^processor /proc/cpuinfo"); if (debug) qDebug() << PDEBUG << ":" << "cmd" << cmd; TaskResult process = runTask(cmd); if (debug) qDebug() << PDEBUG << ":" << "Cmd returns" << process.exitCode; diff --git a/sources/awesome-widget/configuration.cpp b/sources/awesome-widget/configuration.cpp index 24844cf..57b1c14 100644 --- a/sources/awesome-widget/configuration.cpp +++ b/sources/awesome-widget/configuration.cpp @@ -566,13 +566,13 @@ void AwesomeWidget::configChanged() QString fontStyle = cg.readEntry("fontStyle", "normal"); formatLine[0] = QString("
\ \ -") + ") .arg(fontFamily) .arg(QString::number(fontSize)) .arg(QString::number(fontWeight)) .arg(fontStyle) .arg(fontColor); - formatLine[1] = QString(""); + formatLine[1] = QString("