Neal Wilson 11 gadus atpakaļ
vecāks
revīzija
f62d82ce69
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5
    5
      src/typica.w

+ 5
- 5
src/typica.w Parādīt failu

@@ -7355,8 +7355,8 @@ of data.
7355 7355
 @<Class declarations@>=
7356 7356
 class ZeroEmitter : public QObject@/
7357 7357
 {@t\1@>@/
7358
-	Q_OBJECT@;
7359
-	Q_PROPERTY(int column READ column WRITE setColumn)
7358
+	@[Q_OBJECT@]@;
7359
+	@[Q_PROPERTY(int column READ column WRITE setColumn)@]@;
7360 7360
 	Measurement cache;
7361 7361
 	int col;
7362 7362
 	public:@/
@@ -7672,11 +7672,11 @@ if(settings.contains("settings/graph/relative/enable"))
7672 7672
 {
7673 7673
 	if(settings.value("settings/graph/relative/enable").toBool())
7674 7674
 	{
7675
-		relativeEnabled = true;
7675
+		relativeEnabled = @[true@];
7676 7676
 		QColor relativeColor = QColor(settings.value("settings/graph/relative/color").toString());
7677
-		QString unit = QString(settings.value("settings/graph/relative/unit").toInt() == 0 ? "F" : "C");
7677
+		QString unit = QString(settings.value(@|"settings/graph/relative/unit").toInt() == 0 ? "F" : "C");
7678 7678
 		QMap<double, QString> relativeAxisPairs;
7679
-		QStringList relativeAxisLabels = settings.value("settings/graph/relative/grid").toString().split(QRegExp("[\\s,]+"), QString::SkipEmptyParts);
7679
+		QStringList relativeAxisLabels = settings.value(@|"settings/graph/relative/grid").toString().split(QRegExp("[\\s,]+"), QString::SkipEmptyParts);
7680 7680
 		foreach(QString item, relativeAxisLabels)
7681 7681
 		{
7682 7682
 			relativeAxisPairs.insert(item.toDouble(), item);

Notiek ielāde…
Atcelt
Saglabāt