[libcalamares] The amount of memory in the system cannot be negative

This commit is contained in:
Adriaan de Groot 2022-03-22 15:02:43 +01:00
parent a303efb174
commit 97031ea3e6
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ System::createTargetParentDirs( const QString& filePath ) const
} }
QPair< qint64, qreal > QPair< quint64, qreal >
System::getTotalMemoryB() const System::getTotalMemoryB() const
{ {
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX

View File

@ -337,7 +337,7 @@ public:
* *
* @return size, guesstimate-factor * @return size, guesstimate-factor
*/ */
DLLEXPORT QPair< qint64, qreal > getTotalMemoryB() const; DLLEXPORT QPair< quint64, qreal > getTotalMemoryB() const;
/** /**
* @brief getCpuDescription returns a string describing the CPU. * @brief getCpuDescription returns a string describing the CPU.