diff --git a/frame/dbus/dbusdockentry.h b/frame/dbus/dbusdockentry.h index b155c0fa5..256425a0c 100644 --- a/frame/dbus/dbusdockentry.h +++ b/frame/dbus/dbusdockentry.h @@ -88,13 +88,6 @@ public Q_SLOTS: // METHODS return asyncCallWithArgumentList(QStringLiteral("Activate"), argumentList); } - inline QDBusPendingReply<> Activate1() - { - QList argumentList; - argumentList << QVariant::fromValue(qint32(0)) << QVariant::fromValue(qint32(0)) << QVariant::fromValue(quint32(0)); - return asyncCallWithArgumentList(QStringLiteral("Activate"), argumentList); - } - Q_SIGNALS: // SIGNALS // begin property changed signals void ActiveChanged(); diff --git a/frame/item/appitem.cpp b/frame/item/appitem.cpp index 03de98203..25b0234b5 100644 --- a/frame/item/appitem.cpp +++ b/frame/item/appitem.cpp @@ -76,7 +76,7 @@ void AppItem::mouseReleaseEvent(QMouseEvent *e) // activate // TODO: dbus signature changed if (e->button() == Qt::LeftButton) - m_itemEntry->Activate1(); + m_itemEntry->Activate(); } void AppItem::mousePressEvent(QMouseEvent *e) diff --git a/plugins/datetime/datetimeplugin.cpp b/plugins/datetime/datetimeplugin.cpp index 5a52ab79a..df413be0f 100644 --- a/plugins/datetime/datetimeplugin.cpp +++ b/plugins/datetime/datetimeplugin.cpp @@ -5,7 +5,10 @@ DatetimePlugin::DatetimePlugin(QObject *parent) m_timeLabel(new QLabel), m_refershTimer(new QTimer(this)) { - m_timeLabel->setStyleSheet("color:red;"); + m_timeLabel->setAlignment(Qt::AlignCenter); + m_timeLabel->setStyleSheet("color:white;" + "background-color:black;" + "font-size:12px;"); m_refershTimer->setInterval(1000); m_refershTimer->start();