Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
patch-r889786.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-r889786.diff of Package kdelibs4
Subject: fix crash in rename dialog on resuming aborted download From: wstephenson@suse.de Bug: kde#135395 Patch-upstream: 889786 --- kio/kio/renamedialog.cpp (revision 889785) +++ kio/kio/renamedialog.cpp (revision 889786) @@ -283,11 +283,14 @@ RenameDialog::RenameDialog(QWidget *pare d->m_pLineEdit = new KLineEdit( this ); layout2->addWidget( d->m_pLineEdit ); - QString fileName = d->dest.fileName(); + if ( d->bRename ) { + const QString fileName = d->dest.fileName(); d->m_pLineEdit->setText( KIO::decodeFileName( fileName ) ); - if ( d->bRename || d->bOverwrite ) connect(d->m_pLineEdit, SIGNAL(textChanged(const QString &)), SLOT(enableRenameButton(const QString &))); + } else { + d->m_pLineEdit->hide(); + } if ( d->bSuggestNewName ) { layout2->addWidget( d->bSuggestNewName ); Index: kio/kio/renamedialog.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor