Commit e5383ea2 authored by Oliver Sander's avatar Oliver Sander Committed by Albert Astals Cid
Browse files

Set objectName for 'm_name'

The unit test 'editdrawingtooldialogtest' on the frameworks branch aborts at run-time.  Reason: it expects the dialog to have a KLineEdit member with object name 'name'.  That KLineEdit does exist in the dialog, but no object name is set for it at all.  This patch explicitly sets the object name to 'name', which makes the editdrawingtooldialogtest pass again.

REVIEW: 126158
parent c793fb27
......@@ -41,6 +41,7 @@ EditDrawingToolDialog::EditDrawingToolDialog( const QDomElement &initialState, Q
mainLayout->addWidget( buttonBox );
m_name = new KLineEdit( widget );
m_name->setObjectName( QStringLiteral("name") );
mainLayout->addWidget( m_name );
QLabel *tmplabel = new QLabel( i18n( "&Name:" ), 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