OcularDialog.cpp   OcularDialog.cpp 
skipping to change at line 320 skipping to change at line 320
{ {
Oculars::appSettings()->setValue("require_selection_to_zoom" , requireSelection); Oculars::appSettings()->setValue("require_selection_to_zoom" , requireSelection);
Oculars::appSettings()->sync(); Oculars::appSettings()->sync();
emit(requireSelectionChanged(requireSelection)); emit(requireSelectionChanged(requireSelection));
} }
} }
void OcularDialog::scaleImageCircleStateChanged(int state) void OcularDialog::scaleImageCircleStateChanged(int state)
{ {
bool shouldScale = (state == Qt::Checked); bool shouldScale = (state == Qt::Checked);
bool useMaxImageCircle = Oculars::appSettings()->value("use_max_exit _circle",01.0).toBool(); bool useMaxImageCircle = Oculars::appSettings()->value("use_max_exit _circle", 0.0).toBool();
if (shouldScale != useMaxImageCircle) if (shouldScale != useMaxImageCircle)
{ {
Oculars::appSettings()->setValue("use_max_exit_circle", shou ldScale); Oculars::appSettings()->setValue("use_max_exit_circle", shou ldScale);
Oculars::appSettings()->sync(); Oculars::appSettings()->sync();
emit(scaleImageCircleChanged(shouldScale)); emit(scaleImageCircleChanged(shouldScale));
} }
} }
/* ********************************************************************* */ /* ********************************************************************* */
#if 0 #if 0
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/