Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Mar 19, 2022
1 parent e71e97c commit f888fb4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f888fb4

Please sign in to comment.