diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-18 23:27:41 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-18 23:27:41 +0300 |
commit | 6826f1d6051653bce8f670474d539a348b20e6d9 (patch) | |
tree | 824350062460ef21b223105c50165e6df7983954 /launcher/ui/widgets/VersionListView.cpp | |
parent | 0161520b332f485483f57acc305ad71a00d63fbc (diff) | |
parent | 12cd8a7bea991c2a8d4b59b1cfc9f7c246819fc9 (diff) | |
download | PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.tar.gz PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.tar.bz2 PrismLauncher-6826f1d6051653bce8f670474d539a348b20e6d9.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into net_job_crash
Diffstat (limited to 'launcher/ui/widgets/VersionListView.cpp')
-rw-r--r-- | launcher/ui/widgets/VersionListView.cpp | 8 |
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: |