mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Fixed compilation warning in main.cpp
- Removed use of Qt3 backport headers in ico.cpp
This commit is contained in:
parent
78409570a9
commit
70e2a5d3b3
2 changed files with 3 additions and 12 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue