[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdeedu/parley/src/entry-dialogs
From: Frederik Gladhorn <gladhorn () kde ! org>
Date: 2008-10-16 20:21:35
Message-ID: 1224188495.922136.2357.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 872299 by gladhorn:
backport r872297 for KDE 4.1.3 (fix sound crash)
CCBUG: 172431
M +4 -2 audiowidget.cpp
--- branches/KDE/4.1/kdeedu/parley/src/entry-dialogs/audiowidget.cpp #872298:872299
@@ -66,8 +66,10 @@
void AudioWidget::slotAudioFileChanged(const QString & url)
{
- kDebug() << "Setting sound " << url;
- m_entry->translation(m_currentTranslation)->setSoundUrl( KUrl(url) );
+ if (m_currentTranslation) {
+ kDebug() << "Setting sound " << url;
+ m_entry->translation(m_currentTranslation)->setSoundUrl( KUrl(url) );
+ }
playButton->setEnabled(!url.isEmpty());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic