Skip to content

Commit

Permalink
QStringLiteralify some more things
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenDB committed Nov 30, 2022
1 parent ae1a3f0 commit 787180d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DailyOverviewDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ DailyOverviewDialog::DailyOverviewDialog(QSharedPointer<AbstractTimeServiceManag

auto today = new QPushButton{tr("Today"), this};

QIcon backIcon{":/icons/arrow-left.svg"};
QIcon forwardIcon{":/icons/arrow-right.svg"};
QIcon backIcon{QStringLiteral(":/icons/arrow-left.svg")};
QIcon forwardIcon{QStringLiteral(":/icons/arrow-right.svg")};
backIcon.setIsMask(true);
forwardIcon.setIsMask(true);
auto back = new QPushButton{QIcon::fromTheme("go-previous", backIcon), {}, this};
auto forward = new QPushButton{QIcon::fromTheme("go-next", forwardIcon), {}, this};
auto back = new QPushButton{QIcon::fromTheme(QStringLiteral("go-previous"), backIcon), {}, this};
auto forward = new QPushButton{QIcon::fromTheme(QStringLiteral("go-next"), forwardIcon), {}, this};
forward->setDisabled(true);

auto dayLayout = new QHBoxLayout;
Expand Down

0 comments on commit 787180d

Please sign in to comment.