[libcalamares] Fix compilation of tests

- QCOMPARE is picky with types, enum vs unsigned int, so just
   hit it with a hammer.
This commit is contained in:
Adriaan de Groot 2018-10-08 06:46:35 -04:00
parent fc99824c8d
commit 4a2ca8bb77

View File

@ -42,7 +42,7 @@ LibCalamaresTests::testDebugLevels()
{
Logger::setupLogLevel( Logger::LOG_DISABLE );
QCOMPARE( Logger::logLevel(), Logger::LOG_DISABLE );
QCOMPARE( Logger::logLevel(), static_cast<unsigned int>( Logger::LOG_DISABLE ) );
for ( unsigned int level = 0; level <= Logger::LOGVERBOSE ; ++level )
{