mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Remove now unused readVersion function
This commit is contained in:
parent
9832e66ca9
commit
e1e67847b0
2 changed files with 0 additions and 8 deletions
|
@ -201,7 +201,6 @@ public:
|
||||||
|
|
||||||
void buildRequest(const ProfileSettings& settings, QNetworkRequest& request);
|
void buildRequest(const ProfileSettings& settings, QNetworkRequest& request);
|
||||||
void setSSL(QNetworkRequest& request);
|
void setSSL(QNetworkRequest& request);
|
||||||
QString readVersion(QString path);
|
|
||||||
void readInitialInformation();
|
void readInitialInformation();
|
||||||
void readGameVersion();
|
void readGameVersion();
|
||||||
void readWineInfo(ProfileSettings& settings);
|
void readWineInfo(ProfileSettings& settings);
|
||||||
|
|
|
@ -283,13 +283,6 @@ void LauncherCore::launchExecutable(
|
||||||
process->start(executable, arguments);
|
process->start(executable, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString LauncherCore::readVersion(QString path) {
|
|
||||||
QFile file(path);
|
|
||||||
file.open(QFile::OpenModeFlag::ReadOnly);
|
|
||||||
|
|
||||||
return file.readAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
void LauncherCore::readInitialInformation() {
|
void LauncherCore::readInitialInformation() {
|
||||||
defaultProfileIndex = settings.value("defaultProfile", 0).toInt();
|
defaultProfileIndex = settings.value("defaultProfile", 0).toInt();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue