aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/VersionListView.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-19 00:06:44 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-19 00:06:44 +0300
commit319ce8c19f801a4bec920c6778cf140e9f92ee32 (patch)
tree6322b81bf4146ba98b5894ebbb8201a37cc8c044 /launcher/ui/widgets/VersionListView.cpp
parent182e19eae3e2aa9f50dde140d10db858b5bf6076 (diff)
parent12cd8a7bea991c2a8d4b59b1cfc9f7c246819fc9 (diff)
downloadPrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.tar.gz
PrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.tar.bz2
PrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/ui/widgets/VersionListView.cpp')
-rw-r--r--launcher/ui/widgets/VersionListView.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/launcher/ui/widgets/VersionListView.cpp b/launcher/ui/widgets/VersionListView.cpp
index 0e126c65..06e58d22 100644
--- a/launcher/ui/widgets/VersionListView.cpp
+++ b/launcher/ui/widgets/VersionListView.cpp
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-only
/*
- * PolyMC - Minecraft Launcher
+ * Prism Launcher - Minecraft Launcher
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
+ * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -125,14 +126,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: