mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Remove unused code
This commit is contained in:
parent
e71e97cb68
commit
f888fb4ac7
@ -179,10 +179,6 @@ int main(int argc, char *argv[])
|
|||||||
.arg(QLatin1String("-h (or --help)")));
|
.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();
|
const bool firstTimeUser = !Preferences::instance()->getAcceptedLegal();
|
||||||
if (firstTimeUser)
|
if (firstTimeUser)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user