emailuis/nmindicatorplugin/src/nmsyncindicator.cpp
changeset 57 ae34e1715e21
parent 49 00c7ae862740
child 68 83cc6bae1de8
equal deleted inserted replaced
56:15bc1d5d6267 57:ae34e1715e21
    28 {
    28 {
    29 }
    29 }
    30 
    30 
    31 QVariant NmSyncIndicator::indicatorData(int role) const
    31 QVariant NmSyncIndicator::indicatorData(int role) const
    32 {
    32 {
    33     if (role == DecorationNameRole ) {
    33     if (role == DecorationNameRole || role == MonoDecorationNameRole) {
    34         // Must return non-empty to make the indicator visible
    34         // Must return non-empty to make the indicator visible
    35         return " ";
    35         return " ";
    36     }
    36     }
    37     else {
    37     else {
    38         return QVariant();
    38         return QVariant();