summaryrefslogtreecommitdiff
path: root/ham/linpsk/patches/patch-ac
blob: 3e26a4c190fe0718a84b5118480d8c39c753fece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.1 2005/03/16 15:32:12 rillig Exp $

Needed for g++-2.95.3.

--- src/crxdisplay.cpp.orig	Sun Jul  4 17:50:45 2004
+++ src/crxdisplay.cpp	Wed Mar 16 03:28:45 2005
@@ -27,7 +27,7 @@
 #include <qstyle.h>
 #include <qpalette.h>
 
-
+#include <pkgsrc_fixes.h>
 
 #include "crecording.h"
 #include "crxchannel.h"
@@ -69,7 +69,7 @@ void MyTabBar::paintLabel ( QPainter *p,
      {
        int position=t->identifier();
        if ( position >= 0 && position < Farbe->size() ) 
-        Cg.setColor(QColorGroup::Foreground, Farbe->at(position));
+        Cg.setColor(QColorGroup::Foreground, at_replacement(*Farbe, position));
      } 
     style().drawControl( QStyle::CE_TabBarLabel, p, this, br,
                           Cg,