Commit d24149ff authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_FALLTHROUGH here

parent 85adf528
...@@ -268,6 +268,9 @@ void SetupTest::shutdown() ...@@ -268,6 +268,9 @@ void SetupTest::shutdown()
case Akonadi::ServerManager::NotRunning: case Akonadi::ServerManager::NotRunning:
case Akonadi::ServerManager::Broken: case Akonadi::ServerManager::Broken:
shutdownHarder(); shutdownHarder();
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
case Akonadi::ServerManager::Stopping: case Akonadi::ServerManager::Stopping:
// safety timeout // safety timeout
QTimer::singleShot(30 * 1000, this, SLOT(shutdownHarder())); QTimer::singleShot(30 * 1000, this, SLOT(shutdownHarder()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment