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

Fix "Couldn't set environment variable..." message on start up (closes #245)

This commit is contained in:
Christophe Dumez 2012-11-24 10:47:05 +02:00
parent b7de633090
commit 1809de7f1a

View File

@ -291,7 +291,7 @@ int main(int argc, char *argv[]) {
}
#endif
// Set environment variable
if (qputenv("QBITTORRENT", QByteArray(VERSION))) {
if (!qputenv("QBITTORRENT", QByteArray(VERSION))) {
std::cerr << "Couldn't set environment variable...\n";
}