1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-22 12:07:45 +00:00

sagasu: Add icon for extract action

This commit is contained in:
Joshua Goins 2024-02-03 10:27:48 -05:00
parent 5d455c4ce0
commit e825761284

View file

@ -53,7 +53,8 @@ FileTreeWindow::FileTreeWindow(HashDatabase &database, const QString &gamePath,
auto menu = new QMenu(); auto menu = new QMenu();
auto extractAction = menu->addAction(QStringLiteral("Extract..")); auto extractAction = menu->addAction(QStringLiteral("Extract..."));
extractAction->setIcon(QIcon::fromTheme(QStringLiteral("archive-extract-symbolic")));
connect(extractAction, &QAction::triggered, this, [this, path] { connect(extractAction, &QAction::triggered, this, [this, path] {
Q_EMIT extractFile(path); Q_EMIT extractFile(path);
}); });