forked from qt-creator/qt-creator
ProjectExplorer: Remove redundant namespace qualifications
Change-Id: Id9034e31f3f61c38894111951534dd0d59b746dc Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -730,7 +730,7 @@ QSize TaskDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelInd
|
||||
int height = 0;
|
||||
description.replace(QLatin1Char('\n'), QChar::LineSeparator);
|
||||
QTextLayout tl(description);
|
||||
tl.setAdditionalFormats(index.data(TaskModel::Task_t).value<ProjectExplorer::Task>().formats);
|
||||
tl.setAdditionalFormats(index.data(TaskModel::Task_t).value<Task>().formats);
|
||||
tl.beginLayout();
|
||||
while (true) {
|
||||
QTextLine line = tl.createLine();
|
||||
@@ -830,7 +830,7 @@ void TaskDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
|
||||
int height = 0;
|
||||
description.replace(QLatin1Char('\n'), QChar::LineSeparator);
|
||||
QTextLayout tl(description);
|
||||
tl.setAdditionalFormats(index.data(TaskModel::Task_t).value<ProjectExplorer::Task>().formats);
|
||||
tl.setAdditionalFormats(index.data(TaskModel::Task_t).value<Task>().formats);
|
||||
tl.beginLayout();
|
||||
while (true) {
|
||||
QTextLine line = tl.createLine();
|
||||
|
||||
Reference in New Issue
Block a user