emailuis/nmindicatorplugin/src/nmsyncindicator.cpp
changeset 54 997a02608b3a
parent 53 bf7eb7911fc5
child 57 ae34e1715e21
equal deleted inserted replaced
53:bf7eb7911fc5 54:997a02608b3a
    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 == MonoDecorationNameRole ) {
    33     if (role == DecorationNameRole ) {
    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();