diff options
author | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-09-25 16:27:51 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-09-28 07:40:03 +0000 |
commit | 78282651dc64b27e7f5f2dae55205586b384265b (patch) | |
tree | 0b87713b37e4d99e91930f8ac20f0866166b7049 /examples/charts/openglseries/datasource.cpp | |
parent | f0e8ba2c495bff9309bc084b5d976aa84a67a5d9 (diff) |
Fix issues based on android testing
-Some includes were missing
-Widgets got on top of each other on openglSeries example
-qmloscilloscope didn't show button texts properly
Change-Id: I96cb64091275269f73d2a569ff53c2baae8b0f66
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
Diffstat (limited to 'examples/charts/openglseries/datasource.cpp')
-rw-r--r-- | examples/charts/openglseries/datasource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/charts/openglseries/datasource.cpp b/examples/charts/openglseries/datasource.cpp index 64b45405..0509d4fd 100644 --- a/examples/charts/openglseries/datasource.cpp +++ b/examples/charts/openglseries/datasource.cpp @@ -63,6 +63,7 @@ void DataSource::updateAllSeries() elapsed = m_fpsTimer.restart(); qreal fps = qreal(0.1 * int(10000.0 * (qreal(frameCount) / qreal(elapsed)))); m_fpsLabel->setText(labelText.arg(QString::number(fps, 'f', 1))); + m_fpsLabel->adjustSize(); frameCount = 0; } } |