1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Remove unused code

This commit is contained in:
Chocobo1 2022-03-19 15:55:16 +08:00
parent e71e97cb68
commit f888fb4ac7
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -179,10 +179,6 @@ int main(int argc, char *argv[])
.arg(QLatin1String("-h (or --help)")));
}
// Set environment variable
if (!qputenv("QBITTORRENT", QBT_VERSION))
fprintf(stderr, "Couldn't set environment variable...\n");
const bool firstTimeUser = !Preferences::instance()->getAcceptedLegal();
if (firstTimeUser)
{