remove debug output

align start and end when initializing the dialog if align is on

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1140811
This commit is contained in:
Volker Lanz 2010-06-21 15:15:19 +00:00
parent d4757c40ac
commit 9270dec7b2
1 changed files with 6 additions and 2 deletions

View File

@ -156,8 +156,6 @@ void SizeDialogBase::onSpinFreeBeforeChanged(double newBefore)
success = dialogWidget().partResizerWidget().updateFirstSector(alignedFirstSector);
}
kDebug() << success;
if (success)
setDirty();
else
@ -312,6 +310,12 @@ void SizeDialogBase::onAlignToggled(bool align)
foreach(QAbstractSpinBox* box, dialogWidget().findChildren<QAbstractSpinBox*>() +
detailsWidget().findChildren<QAbstractSpinBox*>())
box->setKeyboardTracking(!align);
if (align)
{
onSpinFirstSectorChanged(partition().firstSector());
onSpinLastSectorChanged(partition().lastSector());
}
}
void SizeDialogBase::updateSpinFreeBefore(qint64 sectorsFreeBefore)