Commit ff57e078 authored by Scott Wheeler's avatar Scott Wheeler

Don't crash if k3b isn't installed.

svn path=/trunk/kdemultimedia/juk/; revision=317092
parent 0636ccf9
......@@ -526,7 +526,9 @@ void PlaylistBox::slotPlaylistChanged()
}
action("reloadPlaylist")->setEnabled(allowReload);
action("duplicatePlaylist")->setEnabled(!playlists.isEmpty());
m_k3bAction->setEnabled(!playlists.isEmpty());
if(m_k3bAction)
m_k3bAction->setEnabled(!playlists.isEmpty());
bool searchList =
playlists.count() == 1 && dynamic_cast<SearchPlaylist *>(playlists.front());
......
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