WSL/SLF GitLab Repository

Commit 0799c7a1 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Removed a file that should not be committed (cmake-generated file) and fixed two memory leaks

parent 116d1f77
......@@ -425,12 +425,14 @@ void PreviewWindow::createMenu()
auto *trans_comments = new QMenu(tr("Comments"), menu_transform);
trans_comments->setIcon( getIcon("code-context") );
menu_transform->addMenu(trans_comments);
auto *trans_comment_block = new QAction(tr("Comment selection"));
auto *trans_comment_block = new QAction(tr("Comment selection"),
trans_comments);
trans_comments->addAction(trans_comment_block);
trans_comment_block->setShortcut(Qt::CTRL + Qt::Key_NumberSign);
connect(trans_comment_block, &QAction::triggered, this,
[=]{ onTransformMenuClick("transform_comment_block"); });
auto *trans_uncomment_block = new QAction(tr("Uncomment selection"));
auto *trans_uncomment_block = new QAction(tr("Uncomment selection"),
trans_comments);
trans_comments->addAction(trans_uncomment_block);
trans_uncomment_block->setShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_NumberSign);
connect(trans_uncomment_block, &QAction::triggered, this,
......
#ifndef CONFIG_H_IN
#define CONFIG_H_IN
#define PROJECT_NAME "inishell"
#define APP_VERSION_STR "2.0.7"
#endif // INCLUDE_GUARD
Supports Markdown
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