1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Make JobStatusItem's default weight 1, so that invalid items with a weight of 0 can be differentiated.

This commit is contained in:
Christian Muehlhaeuser 2012-12-23 20:27:14 +01:00
parent e5d5ebf0ec
commit c0e4b76c8c

@ -44,7 +44,7 @@ public:
virtual ~JobStatusItem();
virtual QString type() const = 0;
virtual int weight() const { return 0; }
virtual int weight() const { return 1; }
/// Please cache this.
virtual QPixmap icon() const = 0;