remove soft assert from SavedAction::disconnect

The behaviour is expected to happen after d9d39ab218.
This commit is contained in:
hjk
2009-10-01 12:11:50 +02:00
parent 53f692c575
commit b6ec2853d2

View File

@@ -326,10 +326,9 @@ void SavedAction::connectWidget(QWidget *widget, ApplyMode applyMode)
*/
void SavedAction::disconnectWidget()
{
QTC_ASSERT(m_widget,
qDebug() << "Widget already disconnected: " << m_widget << toString(); return);
m_widget = 0;
}
void SavedAction::apply(QSettings *s)
{
if (QAbstractButton *button = qobject_cast<QAbstractButton *>(m_widget))