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 )
{
static_cast<KIO::Job*>( job )->ui()->showErrorMessage();
}
if ( m_method == EMPTYTRASH ) {
// Update konq windows opened on trash:/
org::kde::KDirNotify::emitFilesAdded( "trash:/" ); // yeah, files were removed, but we don't know which ones...
if ( m_method == EMPTYTRASH || m_method == RESTORE ) {
// Update views showing trash:/
org::kde::KDirNotify::emitFilesAdded( "trash:/" );
}
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