diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-11 13:31:58 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-16 09:02:57 +0000 |
commit | 77e28efad6bc5809c904edcae38b104cc2b6a620 (patch) | |
tree | 9744dae0e79cbdf929c8553a8cf6d79dbd87b69f /src/plugins/qmlprofiler/pixmapcachemodel.cpp | |
parent | a4c318d5e12677395a6e4b59767f2d1300dcd6e9 (diff) | |
download | qt-creator-77e28efad6bc5809c904edcae38b104cc2b6a620.tar.gz |
Timeline: Use some better number types
The scale parameters are converted to single precision float anyway as
soon as we do something with them. We might as well change all the
methods to be single precision, too.
The min/max row values should really be 64bit as 32bit values are not
enough to express memory usage.
Change-Id: I2b058b112286eabb1c077f7e746c48b6b99cb416
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/pixmapcachemodel.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/pixmapcachemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/pixmapcachemodel.cpp b/src/plugins/qmlprofiler/pixmapcachemodel.cpp index 5af3a12402..df30349b63 100644 --- a/src/plugins/qmlprofiler/pixmapcachemodel.cpp +++ b/src/plugins/qmlprofiler/pixmapcachemodel.cpp @@ -38,7 +38,7 @@ PixmapCacheModel::PixmapCacheModel(QmlProfilerModelManager *manager, QObject *pa { } -int PixmapCacheModel::rowMaxValue(int rowNumber) const +qint64 PixmapCacheModel::rowMaxValue(int rowNumber) const { if (rowNumber == 1) { return m_maxCacheSize; |