144c67d563
* Improved RTTY decoder * Setting for slashed 0 now will be saved * Fixed some memory leakages * Removed dependancy on qwindowsstyle.h * Some minor bugfixes
22 lines
678 B
Text
22 lines
678 B
Text
$NetBSD: patch-ai,v 1.2 2005/08/15 14:03:53 wulf Exp $
|
|
|
|
--- src/spectrumdisplay.cpp.orig 2005-03-13 20:32:03.000000000 +1030
|
|
+++ src/spectrumdisplay.cpp 2005-08-15 07:24:05.000000000 +0930
|
|
@@ -21,6 +21,8 @@
|
|
#include <qpainter.h>
|
|
#include <qsplitter.h>
|
|
|
|
+#include <pkgsrc_fixes.h>
|
|
+
|
|
#include "spectrumdisplay.h"
|
|
#include "crxchannel.h"
|
|
#include "parameter.h"
|
|
@@ -178,7 +180,7 @@
|
|
{
|
|
int ID = pRx->getID();
|
|
if ( ID >= 0 && ID < Farbe->size() )
|
|
- p.setPen(Farbe->at(ID));
|
|
+ p.setPen(at_replacement(*Farbe, ID));
|
|
}
|
|
// Calculate Centerfrequency Coordinates
|
|
z=(( (int) pRx->getRxFrequency()-minfreq)*xmax)/(maxfreq-minfreq);
|