Mercurial > hg > svcore
diff base/Preferences.cpp @ 367:722bc705775a
* Ensure plugin version is updated when a transform is re-run using a newer
plugin -- so that the plugin version saved in the session corresponds with
the one that was actually used, not the one previously specified
* Fix uninitialised font size in preferences -- was causing all sorts of grief
author | Chris Cannam |
---|---|
date | Mon, 28 Jan 2008 17:43:44 +0000 |
parents | 048b21bc9891 |
children | d31b4ccb7ddb |
line wrap: on
line diff
--- a/base/Preferences.cpp Fri Jan 25 18:15:57 2008 +0000 +++ b/base/Preferences.cpp Mon Jan 28 17:43:44 2008 +0000 @@ -62,7 +62,8 @@ m_backgroundMode = BackgroundMode (settings.value("background-mode", int(BackgroundFromTheme)).toInt()); m_viewFontSize = settings.value - ("view-font-size", QApplication::font().pointSize() * 0.9).toInt(); + ("view-font-size", int(QApplication::font().pointSize() * 0.9)) + .toInt(); settings.endGroup(); settings.beginGroup("TempDirectory");