fix
This commit is contained in:
parent
07916d892d
commit
d38e35d532
|
@ -116,7 +116,7 @@ void NotifyWidget::update(const Notification ¬ification)
|
||||||
QRgb gray = qGray(qGray(color.rgb()) - qGray(QColor(Qt::white).rgb()));
|
QRgb gray = qGray(qGray(color.rgb()) - qGray(QColor(Qt::white).rgb()));
|
||||||
QColor textColor = QColor(gray, gray, gray);
|
QColor textColor = QColor(gray, gray, gray);
|
||||||
QMetaObject::invokeMethod(qmlNotification, "update", Qt::QueuedConnection,
|
QMetaObject::invokeMethod(qmlNotification, "update", Qt::QueuedConnection,
|
||||||
Q_ARG( QVariant, notification.title()+ QString::number(notification.id())),
|
Q_ARG( QVariant, notification.title()),
|
||||||
Q_ARG( QVariant, notification.text()),
|
Q_ARG( QVariant, notification.text()),
|
||||||
Q_ARG( QVariant, QUrl::fromLocalFile(notification.icon().localUrl())),
|
Q_ARG( QVariant, QUrl::fromLocalFile(notification.icon().localUrl())),
|
||||||
Q_ARG( QVariant, QUrl::fromLocalFile(notification.application().icon().localUrl())),
|
Q_ARG( QVariant, QUrl::fromLocalFile(notification.application().icon().localUrl())),
|
||||||
|
|
Loading…
Reference in New Issue