mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Make JobStatusItem's default weight 1, so that invalid items with a weight of 0 can be differentiated.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
|||||||
virtual ~JobStatusItem();
|
virtual ~JobStatusItem();
|
||||||
|
|
||||||
virtual QString type() const = 0;
|
virtual QString type() const = 0;
|
||||||
virtual int weight() const { return 0; }
|
virtual int weight() const { return 1; }
|
||||||
|
|
||||||
/// Please cache this.
|
/// Please cache this.
|
||||||
virtual QPixmap icon() const = 0;
|
virtual QPixmap icon() const = 0;
|
||||||
|
Reference in New Issue
Block a user