Commit b6ec2853 authored by hjk's avatar hjk
Browse files

remove soft assert from SavedAction::disconnect

The behaviour is expected to happen after d9d39ab2.
parent 53f692c5
...@@ -326,10 +326,9 @@ void SavedAction::connectWidget(QWidget *widget, ApplyMode applyMode) ...@@ -326,10 +326,9 @@ void SavedAction::connectWidget(QWidget *widget, ApplyMode applyMode)
*/ */
void SavedAction::disconnectWidget() void SavedAction::disconnectWidget()
{ {
QTC_ASSERT(m_widget,
qDebug() << "Widget already disconnected: " << m_widget << toString(); return);
m_widget = 0; m_widget = 0;
} }
void SavedAction::apply(QSettings *s) void SavedAction::apply(QSettings *s)
{ {
if (QAbstractButton *button = qobject_cast<QAbstractButton *>(m_widget)) if (QAbstractButton *button = qobject_cast<QAbstractButton *>(m_widget))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment