mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Remove static keyword overuse
This commit is contained in:
parent
a70219eea0
commit
650f585bf3
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ bool Utils::Fs::smartRemoveEmptyFolderTree(const QString &path)
|
||||||
if (path.isEmpty() || !QDir(path).exists())
|
if (path.isEmpty() || !QDir(path).exists())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
static const QStringList deleteFilesList = {
|
const QStringList deleteFilesList = {
|
||||||
// Windows
|
// Windows
|
||||||
"Thumbs.db",
|
"Thumbs.db",
|
||||||
"desktop.ini",
|
"desktop.ini",
|
||||||
|
|
|
@ -139,7 +139,7 @@ void Utils::Misc::shutdownComputer(const ShutdownDialogAction &action)
|
||||||
else
|
else
|
||||||
EventToSend = kAEShutDown;
|
EventToSend = kAEShutDown;
|
||||||
AEAddressDesc targetDesc;
|
AEAddressDesc targetDesc;
|
||||||
static const ProcessSerialNumber kPSNOfSystemProcess = {0, kSystemProcess};
|
const ProcessSerialNumber kPSNOfSystemProcess = {0, kSystemProcess};
|
||||||
AppleEvent eventReply = {typeNull, NULL};
|
AppleEvent eventReply = {typeNull, NULL};
|
||||||
AppleEvent appleEventToSend = {typeNull, NULL};
|
AppleEvent appleEventToSend = {typeNull, NULL};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue