mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Fixed compilation warning in main.cpp
- Removed use of Qt3 backport headers in ico.cpp
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "GUI.h"
|
||||
#include "misc.h"
|
||||
#include "ico.h"
|
||||
@@ -96,7 +95,7 @@ int main(int argc, char *argv[]){
|
||||
}
|
||||
}
|
||||
// Set environment variable
|
||||
if(putenv("QBITTORRENT="VERSION)){
|
||||
if(putenv((char*)"QBITTORRENT="VERSION)) {
|
||||
std::cerr << "Couldn't set environment variable...\n";
|
||||
}
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
|
||||
Reference in New Issue
Block a user