Don't crash in yet another of our warning-suppressing asserts

This commit is contained in:
Berkus Decker 2017-11-27 01:18:55 +02:00
parent 9e875ff268
commit 0c40bb51a6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ QString getButtonText(MediaOverviewType type, int count) {
case OverviewFiles: return lng_profile_files(lt_count, count);
case OverviewVoiceFiles: return lng_profile_audios(lt_count, count);
case OverviewLinks: return lng_profile_shared_links(lt_count, count);
case OverviewChatPhotos: case OverviewCount: assert(false); // temp
case OverviewChatPhotos: case OverviewCount: return QString(); // temp
}
return QString();
}