forked from qt-creator/qt-creator
TaskWindow: Fix warnings about leaking X11 pixmap data.
Attach icons to TaskModel. Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
@@ -86,9 +86,6 @@ struct PROJECTEXPLORER_EXPORT Task {
|
||||
// doesn't work if you split it up, nor are our parsers
|
||||
// anywhere near being that good
|
||||
QList<QTextLayout::FormatRange> formats;
|
||||
|
||||
/// Get the icon used to represent this task
|
||||
QIcon icon() const;
|
||||
};
|
||||
|
||||
class PROJECTEXPLORER_EXPORT TaskWindow : public Core::IOutputPane
|
||||
@@ -128,6 +125,8 @@ public:
|
||||
void goToNext();
|
||||
void goToPrev();
|
||||
|
||||
QIcon taskTypeIcon(Task::TaskType t) const;
|
||||
|
||||
signals:
|
||||
void tasksChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user