diff --git a/examples/cpp/main.cpp b/examples/cpp/main.cpp index 779d7bb5..dc1b8d22 100644 --- a/examples/cpp/main.cpp +++ b/examples/cpp/main.cpp @@ -37,11 +37,11 @@ int main(int argc, char *argv[]) QMenu *actionsMenu = new QMenu(QStringLiteral("Actions"), menuBar); menuBar->addMenu(actionsMenu); actionsMenu->addAction(QStringLiteral("Find..."), console, &QTermWidget::toggleShowSearchBar, - QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F)); + QKeySequence(QLatin1String("Ctrl+Shift+F"))); actionsMenu->addAction(QStringLiteral("Copy"), console, &QTermWidget::copyClipboard, - QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_C)); + QKeySequence(QLatin1String("Ctrl+Shift+C"))); actionsMenu->addAction(QStringLiteral("Paste"), console, &QTermWidget::pasteClipboard, - QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_V)); + QKeySequence(QLatin1String("Ctrl+Shift+V"))); actionsMenu->addAction(QStringLiteral("About Qt"), &app, &QApplication::aboutQt); mainWindow->setMenuBar(menuBar);