From f888fb4ac7e736a41543d5cbb0e2a35dc3e08923 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 19 Mar 2022 15:55:16 +0800 Subject: [PATCH] Remove unused code --- src/app/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index 49d265405..7d4d762be 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -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) {