summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Sander <sander@igpm.rwth-aachen.de>2015-11-27 18:50:10 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2015-11-27 18:50:10 (GMT)
commite5383ea2d6c25f628871a7af68022e95b62e8550 (patch)
treeb0d06ce7feb98dbd5f7bc0a2e086fa19d1ea3050
parentc793fb2703bbeaf2847663013b62850fe6d970d3 (diff)
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
-rw-r--r--conf/editdrawingtooldialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/editdrawingtooldialog.cpp b/conf/editdrawingtooldialog.cpp
index bcd65e1..a460b7c 100644
--- a/conf/editdrawingtooldialog.cpp
+++ b/conf/editdrawingtooldialog.cpp
@@ -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 );