JobTreeViewItemDelegate.cpp 610 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include "JobTreeViewItemDelegate.h"
  9. namespace AssetProcessor
  10. {
  11. void JobTreeViewItemDelegate::initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const
  12. {
  13. AzQtComponents::TableViewItemDelegate::initStyleOption(option, index);
  14. option->features &= ~(QStyleOptionViewItem::WrapText);
  15. }
  16. }
  17. #include <native/ui/moc_JobTreeViewItemDelegate.cpp>