Browse Source

Remove static keyword overuse

adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
650f585bf3
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/utils/fs.cpp
  2. 2
      src/base/utils/misc.cpp

2
src/base/utils/fs.cpp

@ -110,7 +110,7 @@ bool Utils::Fs::smartRemoveEmptyFolderTree(const QString &path) @@ -110,7 +110,7 @@ bool Utils::Fs::smartRemoveEmptyFolderTree(const QString &path)
if (path.isEmpty() || !QDir(path).exists())
return true;
static const QStringList deleteFilesList = {
const QStringList deleteFilesList = {
// Windows
"Thumbs.db",
"desktop.ini",

2
src/base/utils/misc.cpp

@ -139,7 +139,7 @@ void Utils::Misc::shutdownComputer(const ShutdownDialogAction &action) @@ -139,7 +139,7 @@ void Utils::Misc::shutdownComputer(const ShutdownDialogAction &action)
else
EventToSend = kAEShutDown;
AEAddressDesc targetDesc;
static const ProcessSerialNumber kPSNOfSystemProcess = {0, kSystemProcess};
const ProcessSerialNumber kPSNOfSystemProcess = {0, kSystemProcess};
AppleEvent eventReply = {typeNull, NULL};
AppleEvent appleEventToSend = {typeNull, NULL};

Loading…
Cancel
Save