Apply clang-format
This commit is contained in:
parent
1a94b5c85d
commit
1017873c28
|
@ -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);
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue