Commit aff09d73 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove dead code

Summary: lol

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25556
parent c0acd143
......@@ -343,37 +343,6 @@ void ConfigDialog::updateWidgetsDefault()
m_shortcutsWidget->allDefault();
}
// it does not make sense to port / enable this since KRegExpEditor is in a very bad shape. just keep this
// code here because it will probably help at a later point to port it when KRegExpEditor is again usable.
// 2007-10-20, uwolfer
#if 0
void ListView::rename( Q3ListViewItem* item, int c )
{
bool gui = false;
if ( item->childCount() != 0 && c == 0) {
// This is the regular expression
if ( _configWidget->useGUIRegExpEditor() ) {
gui = true;
}
}
if ( gui ) {
if ( ! _regExpEditor )
_regExpEditor = KServiceTypeTrader::createInstanceFromQuery<QDialog>( "KRegExpEditor/KRegExpEditor", QString(), this );
KRegExpEditorInterface *iface = qobject_cast<KRegExpEditorInterface *>(_regExpEditor);
Q_ASSERT( iface );
iface->setRegExp( item->text( 0 ) );
bool ok = _regExpEditor->exec();
if ( ok )
item->setText( 0, iface->regExp() );
}
else
K3ListView::rename( item ,c );
}
#endif
AdvancedWidget::AdvancedWidget( QWidget *parent )
: QWidget(parent)
{
......
Markdown is supported
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