[libcalamares] Fix compilation of tests

- QCOMPARE is picky with types, enum vs unsigned int, so just
   hit it with a hammer.
main
Adriaan de Groot 7 years ago
parent fc99824c8d
commit 4a2ca8bb77

@ -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 )
{

Loading…
Cancel
Save