summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Kostovsky <luntik2012@gmail.com>2024-12-04 19:57:23 +0100
committerNikita Kostovsky <luntik2012@gmail.com>2024-12-04 19:57:23 +0100
commit80f2cf91af7706e56c871dfc9b826a5412869386 (patch)
tree4d653ef76e6eeb488e460e3a5652b7f95feaac2b
parent8f383df0c295e1049bcf2211869e0b069fb3890e (diff)
minor
-rw-r--r--QmlCustomPlot.cpp4
-rw-r--r--main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/QmlCustomPlot.cpp b/QmlCustomPlot.cpp
index bba287e..4d560ce 100644
--- a/QmlCustomPlot.cpp
+++ b/QmlCustomPlot.cpp
@@ -128,8 +128,8 @@ void QmlCustomPlot::setLines(const QVector<QLineF> lines)
// QRgb green = QRandomGenerator::generate();
// QRgb blue = QRandomGenerator::generate();
QColor color { QRgb { QRandomGenerator::global()->generate() } };
- color.setAlpha(100);
- const QPen linePen(color, 4);
+ color.setAlpha(150);
+ const QPen linePen(color, 6);
QCPItemLine * l;
if(i >= m_lineItems.count())
diff --git a/main.cpp b/main.cpp
index eb44515..8a3633b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -162,7 +162,7 @@ int main(int argc, char *argv[])
}
else
{
- qDebug() << "set lines. count is" << lines.count();
+ // qDebug() << "set lines. count is" << lines.count();
qmlCustomPlot->setLines(lines);
}