Browse Source

Add patch to force-fix macOS 10.8 qjackctl build

pull/19/head
falkTX 3 months ago
parent
commit
efb62027aa
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      patches/qjackctl/macos/01-fix-build.patch

+ 23
- 0
patches/qjackctl/macos/01-fix-build.patch View File

@@ -0,0 +1,23 @@
diff --git a/src/.obj/qjackctlPaletteForm.o b/src/.obj/qjackctlPaletteForm.o
index e853f8c..d9a3976 100644
Binary files a/src/.obj/qjackctlPaletteForm.o and b/src/.obj/qjackctlPaletteForm.o differ
diff --git a/src/qjackctlPaletteForm.cpp b/src/qjackctlPaletteForm.cpp
index 33feae7..635ac6d 100644
--- a/src/qjackctlPaletteForm.cpp
+++ b/src/qjackctlPaletteForm.cpp
@@ -1203,14 +1203,10 @@ void qjackctlPaletteForm::ColorDelegate::updateEditorGeometry ( QWidget *editor,
void qjackctlPaletteForm::ColorDelegate::paint ( QPainter *painter,
- const QStyleOptionViewItem& option, const QModelIndex& index ) const
+ const QStyleOptionViewItem& opt, const QModelIndex& index ) const
{
- QStyleOptionViewItem opt = option;
-
const bool masked
= index.model()->data(index, Qt::EditRole).value<bool>();
- if (index.column() == 0 && masked)
- opt.font.setBold(true);
QItemDelegate::paint(painter, opt, index);

Loading…
Cancel
Save