Apply clang-format

This commit is contained in:
Martchus 2023-07-25 23:34:39 +02:00
parent 1a94b5c85d
commit 1017873c28
4 changed files with 5 additions and 4 deletions

View File

@ -279,7 +279,8 @@ void DbQueryWidget::showResults()
if (m_model->results().isEmpty()) { if (m_model->results().isEmpty()) {
m_ui->notificationLabel->setText(tr("No results available")); m_ui->notificationLabel->setText(tr("No results available"));
} else { } else {
m_ui->notificationLabel->setText(tr("%1 result(s) available", nullptr, Utility::containerSizeToInt(m_model->results().size())).arg(m_model->results().size())); m_ui->notificationLabel->setText(
tr("%1 result(s) available", nullptr, Utility::containerSizeToInt(m_model->results().size())).arg(m_model->results().size()));
} }
} else { } else {
m_ui->notificationLabel->setNotificationType(NotificationType::Critical); m_ui->notificationLabel->setNotificationType(NotificationType::Critical);

View File

@ -6,8 +6,8 @@
#include <QString> #include <QString>
#include <QStringList> #include <QStringList>
#include <type_traits>
#include <limits> #include <limits>
#include <type_traits>
QT_FORWARD_DECLARE_CLASS(QDir) QT_FORWARD_DECLARE_CLASS(QDir)
QT_FORWARD_DECLARE_CLASS(QAbstractItemModel) QT_FORWARD_DECLARE_CLASS(QAbstractItemModel)