mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
don't crash if the Information Panel is updated by file changes
BUG: 214060 svn path=/trunk/KDE/kdebase/apps/; revision=1060022
This commit is contained in:
parent
4724888b0c
commit
1b05d108a1
1 changed files with 6 additions and 1 deletions
|
@ -343,7 +343,12 @@ void KMetaDataWidget::Private::updateRowsVisibility()
|
|||
void KMetaDataWidget::Private::slotLoadingFinished()
|
||||
{
|
||||
#ifdef HAVE_NEPOMUK
|
||||
Q_ASSERT(m_loadMetaDataThread != 0);
|
||||
if (m_loadMetaDataThread == 0) {
|
||||
// The signal finished() has been emitted, but the thread has been marked
|
||||
// as invalid in the meantime. Just ignore the signal in this case.
|
||||
return;
|
||||
}
|
||||
|
||||
Q_ASSERT(m_ratingWidget != 0);
|
||||
Q_ASSERT(m_commentWidget != 0);
|
||||
Q_ASSERT(m_taggingWidget != 0);
|
||||
|
|
Loading…
Reference in a new issue