There was fixed typos

This commit is contained in:
Alex 2023-04-13 16:32:25 +03:00
parent e18cea31b7
commit 71b99da2d7
2 changed files with 3 additions and 6 deletions

View File

@ -30,8 +30,7 @@ QString NotificationData::img() const {
return this->getDefaultImage(_type); return this->getDefaultImage(_type);
} }
QString NotificationData::imgSrc() const QString NotificationData::imgSrc() const {
{
return _img; return _img;
} }
@ -50,8 +49,7 @@ bool NotificationData::operator !=(const NotificationData &righ) {
return !operator==(righ); return !operator==(righ);
} }
QString NotificationData::getDefaultImage(const int code) const QString NotificationData::getDefaultImage(const int code) const {
{
const auto notificationType = static_cast<NotificationData::Type>(code); const auto notificationType = static_cast<NotificationData::Type>(code);

View File

@ -112,8 +112,7 @@ QObject *NotificationService::history() const {
return _history; return _history;
} }
void NotificationService::showHistory() void NotificationService::showHistory() {
{
emit sigShowHistory(); emit sigShowHistory();
} }