Fix donate icon
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Syping 2021-04-02 20:06:58 +02:00
parent 955f015de3
commit a952eff26d

View file

@ -170,7 +170,7 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D
donateAction->setIcon(QIcon::fromTheme("taxes-finances")); donateAction->setIcon(QIcon::fromTheme("taxes-finances"));
} }
else { else {
donateAction->setIcon(QIcon(AppEnv::getImagesFolder() % "/donate.svgz")); donateAction->setIcon(QIcon(":/img/donate.svgz"));
} }
ui->menuHelp->insertAction(ui->actionAbout_gta5sync, donateAction); ui->menuHelp->insertAction(ui->actionAbout_gta5sync, donateAction);
QObject::connect(donateAction, &QAction::triggered, this, [=](){ QObject::connect(donateAction, &QAction::triggered, this, [=](){