aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-06-07 22:55:37 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-06-07 22:55:37 +0100
commit0b4807dc1fd723ac2f511a935649ae3a858aa388 (patch)
tree779bea693241387e53d8c07b3fed92ff5ae64b06 /launcher/ui/widgets
parent1191c33c2b40d3fdb4ee66871f8cac4eb8aaf77d (diff)
downloadPrismLauncher-0b4807dc1fd723ac2f511a935649ae3a858aa388.tar.gz
PrismLauncher-0b4807dc1fd723ac2f511a935649ae3a858aa388.tar.bz2
PrismLauncher-0b4807dc1fd723ac2f511a935649ae3a858aa388.zip
Questionable fix two
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/widgets')
-rw-r--r--launcher/ui/widgets/VersionListView.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/launcher/ui/widgets/VersionListView.cpp b/launcher/ui/widgets/VersionListView.cpp
index 0e126c65..69f88155 100644
--- a/launcher/ui/widgets/VersionListView.cpp
+++ b/launcher/ui/widgets/VersionListView.cpp
@@ -125,14 +125,9 @@ void VersionListView::paintEvent(QPaintEvent *event)
QString VersionListView::currentEmptyString() const
{
- if(m_itemCount) {
- return QString();
- }
switch(m_emptyMode)
{
default:
- case VersionListView::Empty:
- return QString();
case VersionListView::String:
return m_emptyString;
case VersionListView::ErrorString: