From e1e67847b003ff30c0bb2dd4fbdf4175eb25935f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 5 Sep 2022 16:55:49 -0400 Subject: [PATCH] Remove now unused readVersion function --- launcher/core/include/launchercore.h | 1 - launcher/core/src/launchercore.cpp | 7 ------- 2 files changed, 8 deletions(-) diff --git a/launcher/core/include/launchercore.h b/launcher/core/include/launchercore.h index 6562d13..851f9fd 100755 --- a/launcher/core/include/launchercore.h +++ b/launcher/core/include/launchercore.h @@ -201,7 +201,6 @@ public: void buildRequest(const ProfileSettings& settings, QNetworkRequest& request); void setSSL(QNetworkRequest& request); - QString readVersion(QString path); void readInitialInformation(); void readGameVersion(); void readWineInfo(ProfileSettings& settings); diff --git a/launcher/core/src/launchercore.cpp b/launcher/core/src/launchercore.cpp index 0f181db..6a1b53c 100755 --- a/launcher/core/src/launchercore.cpp +++ b/launcher/core/src/launchercore.cpp @@ -283,13 +283,6 @@ void LauncherCore::launchExecutable( process->start(executable, arguments); } -QString LauncherCore::readVersion(QString path) { - QFile file(path); - file.open(QFile::OpenModeFlag::ReadOnly); - - return file.readAll(); -} - void LauncherCore::readInitialInformation() { defaultProfileIndex = settings.value("defaultProfile", 0).toInt();