summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-12-27 02:05:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-12-27 02:05:35 -0600
commit063c820d6a1684a7ecf19269738daa39e372fd43 (patch)
tree31c82c2fe16ca7514c7d4f1fb61696c8872b463d
parentdb047c23a6b751e9681e1d2210e093bbf3c9d068 (diff)
downloadulab-063c820d6a1684a7ecf19269738daa39e372fd43.zip
ulab-063c820d6a1684a7ecf19269738daa39e372fd43.tar.gz
Fix crash on sensor monitor startup
-rw-r--r--clients/tde/src/part/sensormonitor/part.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/clients/tde/src/part/sensormonitor/part.h b/clients/tde/src/part/sensormonitor/part.h
index a32700a..94e3fb9 100644
--- a/clients/tde/src/part/sensormonitor/part.h
+++ b/clients/tde/src/part/sensormonitor/part.h
@@ -15,7 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * (c) 2012-2014 Timothy Pearson
+ * (c) 2012-2016 Timothy Pearson
* Raptor Engineering
* http://www.raptorengineeringinc.com
*/
@@ -126,11 +126,11 @@ namespace RemoteLab
class SensorMonitorPart : public KParts::RemoteInstrumentPart
{
Q_OBJECT
-
+
public:
SensorMonitorPart(TQWidget *, const char *, TQObject *, const char *, const TQStringList&);
~SensorMonitorPart();
-
+
virtual bool openFile() { return false; } // pure virtual in the base class
virtual bool closeURL();
static TDEAboutData *createAboutData();
@@ -138,7 +138,7 @@ namespace RemoteLab
public slots:
virtual bool openURL(const KURL &url);
void updateZoomWidgetLimits(const TQRectF& zoomRect);
-
+
private slots:
void postInit();
void resizeToHint();
@@ -162,7 +162,7 @@ namespace RemoteLab
void saveWaveforms();
void saveWaveforms(TQString fileName);
void recallWaveforms();
-
+
private:
SensorMonitorBase* m_base;
TraceWidget* m_traceWidget;
@@ -187,7 +187,7 @@ namespace RemoteLab
TQ_INT32 m_samplesInTrace[MAXTRACES+1];
bool m_channelActive[MAXTRACES+1];
TQString m_traceUnits[MAXTRACES+1];
- TraceControlWidget* m_traceControlWidgetList[MAXTRACES];
+ TraceControlWidget* m_traceControlWidgetList[MAXTRACES+1];
TQ_UINT32 m_sampleRequestIndex;
bool m_sampleRequestInProgress[MAXTRACES+1];
};