Commit 88825fb0 authored by Frerich Raabe's avatar Frerich Raabe

- Don't crash just because I forgot to make install

svn path=/trunk/kdemultimedia/juk/; revision=221869
parent 1a80c662
......@@ -435,7 +435,7 @@ void JuK::updatePlaylistInfo()
void JuK::play(const QString &file)
{
if(!m_player)
if(!m_player || !m_sliderAction || !m_sliderAction->getVolumeSlider())
return;
float volume = float(m_sliderAction->getVolumeSlider()->value()) / float(m_sliderAction->getVolumeSlider()->maxValue());
......
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