fix: empty statements

This commit is contained in:
vae 2021-05-09 03:30:06 +03:00
parent 849159d5a5
commit 8d88aa5d09
Signed by: vae
GPG key ID: A9A33351400E00E5
8 changed files with 10 additions and 10 deletions

View file

@ -211,7 +211,7 @@ QIcon Models::Contact::getStatusIcon(bool big) const
if (getMessagesCount() > 0) {
return Shared::icon("mail-message", big);
} else if (state == Shared::SubscriptionState::both || state == Shared::SubscriptionState::to) {
return Shared::availabilityIcon(availability, big);;
return Shared::availabilityIcon(availability, big);
} else {
return Shared::subscriptionStateIcon(state, big);
}

View file

@ -187,9 +187,9 @@ struct FeedItem {
Shared::Message::State state;
Attachment attach;
};
};
}
Q_DECLARE_METATYPE(Models::Attachment);
Q_DECLARE_METATYPE(Models::FeedItem);
Q_DECLARE_METATYPE(Models::Attachment)
Q_DECLARE_METATYPE(Models::FeedItem)
#endif // MESSAGEFEED_H

View file

@ -29,6 +29,6 @@
namespace Utils {
void exponentialblur(QImage &img, qreal radius, bool improvedQuality = false, int transposed = 0);
};
}
#endif // EXPONENTIALBLUR_H

View file

@ -36,7 +36,7 @@
namespace Models {
struct FeedItem;
};
}
class MessageDelegate : public QStyledItemDelegate
{

View file

@ -59,7 +59,7 @@ QMap<QString, QVariant> Account::value() const
void Account::lockId()
{
m_ui->name->setReadOnly(true);;
m_ui->name->setReadOnly(true);
}
void Account::setData(const QMap<QString, QVariant>& data)