Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bf7cdfca authored by David Faure's avatar David Faure

Update views showing trash:/ when restoring trashed files.

Thanks to A.J.Reddy for the investigation and initial patch, and thanks
to Frank Reininghaus for the testing.
FIXED-IN: 4.10.1
BUG: 252483
parent 547d10aa
...@@ -809,9 +809,9 @@ void KonqOperations::slotResult( KJob * job ) ...@@ -809,9 +809,9 @@ void KonqOperations::slotResult( KJob * job )
{ {
static_cast<KIO::Job*>( job )->ui()->showErrorMessage(); static_cast<KIO::Job*>( job )->ui()->showErrorMessage();
} }
if ( m_method == EMPTYTRASH ) { if ( m_method == EMPTYTRASH || m_method == RESTORE ) {
// Update konq windows opened on trash:/ // Update views showing trash:/
org::kde::KDirNotify::emitFilesAdded( "trash:/" ); // yeah, files were removed, but we don't know which ones... org::kde::KDirNotify::emitFilesAdded( "trash:/" );
} }
deleteLater(); deleteLater();
} }
......
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