Commit 9f806dae authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

operator+/- is disabled for QFlags in qt6

parent a49cd03d
......@@ -151,7 +151,7 @@ void MainWindow::setupActions() //singleton function
action = ac->addAction(QStringLiteral("scan_home"), this, &MainWindow::slotScanHomeFolder);
action->setText(i18n("Scan &Home Folder"));
action->setIcon(QIcon::fromTheme(QStringLiteral("user-home")));
ac->setDefaultShortcut(action, QKeySequence(Qt::CTRL + Qt::Key_Home));
ac->setDefaultShortcut(action, QKeySequence(Qt::CTRL | Qt::Key_Home));
action = ac->addAction(QStringLiteral("scan_root"), this, &MainWindow::slotScanRootFolder);
action->setText(i18n("Scan &Root Folder"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment