forked from qt-creator/qt-creator
ProjectManager: Use Core::Id for progress types
Change-Id: I72993fda50ad70ad2d7c2f449923ac6e34b9e737 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
QWidget *m_widget;
|
||||
QHBoxLayout *m_widgetLayout;
|
||||
QWidget *m_statusBarWidget;
|
||||
QString m_type;
|
||||
Id m_type;
|
||||
FutureProgress::KeepOnFinishType m_keep;
|
||||
bool m_waitingForUserInteraction;
|
||||
FutureProgress *m_q;
|
||||
@@ -304,12 +304,12 @@ bool FutureProgress::hasError() const
|
||||
return d->m_progress->hasError();
|
||||
}
|
||||
|
||||
void FutureProgress::setType(const QString &type)
|
||||
void FutureProgress::setType(Id type)
|
||||
{
|
||||
d->m_type = type;
|
||||
}
|
||||
|
||||
QString FutureProgress::type() const
|
||||
Id FutureProgress::type() const
|
||||
{
|
||||
return d->m_type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user