Disable testing hacks for package installs.
This commit is contained in:
parent
9f5a4609d6
commit
f88b4aefe9
2 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,7 @@ void AircraftItemDelegate::paint(QPainter * painter, const QStyleOptionViewItem
|
|||
|
||||
QVariant v = index.data(AircraftPackageStatusRole);
|
||||
AircraftItemStatus status = static_cast<AircraftItemStatus>(v.toInt());
|
||||
status = PackageNotInstalled;
|
||||
// status = PackageNotInstalled;
|
||||
if (status != PackageInstalled) {
|
||||
painter->setBrush(Qt::NoBrush);
|
||||
QRect buttonRect = packageButtonRect(option.rect, index);
|
||||
|
|
|
@ -417,10 +417,12 @@ QVariant AircraftItemModel::dataFromItem(const AircraftItem* item, quint32 varia
|
|||
}
|
||||
return have;
|
||||
} else if (role == AircraftLongDescriptionRole) {
|
||||
#if 0
|
||||
return "Lorum Ipsum, etc. Is this the real life? Is this just fantasy? Caught in a land-slide, "
|
||||
"no escape from reality. Open your eyes, like up to the skies and see. "
|
||||
"I'm just a poor boy, I need no sympathy because I'm easy come, easy go."
|
||||
"Litte high, little low. Anywhere the wind blows.";
|
||||
#endif
|
||||
}
|
||||
|
||||
return QVariant();
|
||||
|
|
Loading…
Add table
Reference in a new issue