Fix crash deleting last track

Fixes #263
1 job for Applications/19.04 in 20 minutes and 55 seconds (queued for 7 minutes and 32 seconds)
Status Name Job ID Coverage
  Build
passed linux stable-kf5-qt5 qt5.10 #8904

00:20:55

0.0%