diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-03-22 12:55:40 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-03-22 12:55:40 (GMT) |
commit | 6da8cec6042823da5622d048bb66ca7c40aed9b3 (patch) | |
tree | 55308bc567f635acf949a07c133d8575adcbc267 /src/gui/styles/qs60style_s60.cpp | |
parent | 019f5999dd5159268f55abdf56310795bfde3375 (diff) | |
download | Qt-6da8cec6042823da5622d048bb66ca7c40aed9b3.zip Qt-6da8cec6042823da5622d048bb66ca7c40aed9b3.tar.gz Qt-6da8cec6042823da5622d048bb66ca7c40aed9b3.tar.bz2 |
Adding custom pixel metrics requires cleaning and rebuilding of QtGui
This is due that the size of the pixel metrics table is stored in some
object file and the file is not updated, even if we increase the table
size integer. Removing direct calls from internal methods to member
variable data[] removes the need to do whole rebuild when adding
values.
Relates to task #9247.
Task-number: QTBUG-9247
Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qs60style_s60.cpp')
-rw-r--r-- | src/gui/styles/qs60style_s60.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp index 14782d8..bb862a3 100644 --- a/src/gui/styles/qs60style_s60.cpp +++ b/src/gui/styles/qs60style_s60.cpp @@ -1096,7 +1096,7 @@ void QS60StylePrivate::setActiveLayout() activeLayoutIndex += (!landscape) ? 1 : 0; } - m_pmPointer = data[activeLayoutIndex]; + setCurrentLayout(activeLayoutIndex); } Q_GLOBAL_STATIC(QList<QS60StyleAnimation *>, m_animations) |