forked from qt-creator/qt-creator
remove soft assert from SavedAction::disconnect
The behaviour is expected to happen after d9d39ab218.
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user