mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Stop crashing (apparently I have HAVE_NEPOMUK but the runtime check fails so the widget isn't created)
svn path=/trunk/KDE/kdebase/apps/; revision=1048851
This commit is contained in:
parent
22ec26083e
commit
5328ae8942
1 changed files with 4 additions and 2 deletions
|
@ -585,8 +585,10 @@ void KMetaDataWidget::setReadOnly(bool readOnly)
|
|||
d->m_readOnly = readOnly;
|
||||
#ifdef HAVE_NEPOMUK
|
||||
// TODO: encapsulate this code as part of a metadata-model for KDE 4.5
|
||||
d->m_taggingWidget->setReadOnly(readOnly);
|
||||
d->m_commentWidget->setReadOnly(readOnly);
|
||||
if (d->m_taggingWidget)
|
||||
d->m_taggingWidget->setReadOnly(readOnly);
|
||||
if (d->m_commentWidget)
|
||||
d->m_commentWidget->setReadOnly(readOnly);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue