Fix some compiler warnings about unused variables

Change-Id: I9a9450eab68f53b08722adb9a5d33c4f318b2129
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-02-16 08:46:52 +01:00
parent 35245a7fcf
commit 1027b94fcb
2 changed files with 5 additions and 5 deletions

View File

@@ -51,14 +51,14 @@
using namespace Utils;
static const char crashReportingEnabledKey[] = "CrashReportingEnabled";
static const char showCrashButtonKey[] = "ShowCrashButton";
namespace Core {
namespace Internal {
// TODO: move to somewhere in Utils
#ifdef ENABLE_CRASHPAD
const char crashReportingEnabledKey[] = "CrashReportingEnabled";
const char showCrashButtonKey[] = "ShowCrashButton";
// TODO: move to somewhere in Utils
static QString formatSize(qint64 size)
{
QStringList units {QObject::tr("Bytes"), QObject::tr("KB"), QObject::tr("MB"),