Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
366:4bb19132da23 | 367:722bc705775a |
---|---|
60 m_resampleQuality = settings.value("resample-quality", 1).toInt(); | 60 m_resampleQuality = settings.value("resample-quality", 1).toInt(); |
61 m_resampleOnLoad = settings.value("resample-on-load", false).toBool(); | 61 m_resampleOnLoad = settings.value("resample-on-load", false).toBool(); |
62 m_backgroundMode = BackgroundMode | 62 m_backgroundMode = BackgroundMode |
63 (settings.value("background-mode", int(BackgroundFromTheme)).toInt()); | 63 (settings.value("background-mode", int(BackgroundFromTheme)).toInt()); |
64 m_viewFontSize = settings.value | 64 m_viewFontSize = settings.value |
65 ("view-font-size", QApplication::font().pointSize() * 0.9).toInt(); | 65 ("view-font-size", int(QApplication::font().pointSize() * 0.9)) |
66 .toInt(); | |
66 settings.endGroup(); | 67 settings.endGroup(); |
67 | 68 |
68 settings.beginGroup("TempDirectory"); | 69 settings.beginGroup("TempDirectory"); |
69 m_tempDirRoot = settings.value("create-in", "$HOME").toString(); | 70 m_tempDirRoot = settings.value("create-in", "$HOME").toString(); |
70 settings.endGroup(); | 71 settings.endGroup(); |