]> git.mxchange.org Git - flightgear.git/commitdiff
Disable testing hacks for package installs.
authorJames Turner <zakalawe@mac.com>
Fri, 5 Jun 2015 12:26:12 +0000 (14:26 +0200)
committerJames Turner <zakalawe@mac.com>
Fri, 5 Jun 2015 12:27:23 +0000 (14:27 +0200)
src/GUI/AircraftItemDelegate.cxx
src/GUI/AircraftModel.cxx

index b13a9500b4c4e77c4ccc1c145c1eb7b4ae148416..51a3701be14e08f1c7381897d938a940f6d4263b 100644 (file)
@@ -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);
index 16b9007c184ae7216084e1465de9ae366f77b636..918a6b04be28fd81e4f94442b696f30f749225d4 100644 (file)
@@ -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();