Commit 4c2ff3f3 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix leaks

parent 4869bef0
Pipeline #263567 passed with stage
in 17 minutes and 55 seconds
......@@ -123,7 +123,7 @@ ConfigView::ConfigView(QWidget *parent, KTextEditor::MainWindow *mainWin)
m_processId = new QSpinBox(this);
m_processId->setMinimum(1);
m_processId->setMaximum(4194304);
m_processIdLabel = new QLabel(i18n("Process Id:"));
m_processIdLabel = new QLabel(i18n("Process Id:"), this);
m_processIdLabel->setBuddy(m_processId);
m_arguments = new QLineEdit(this);
......
......@@ -711,7 +711,7 @@ public:
m_restartAll->setText(i18n("Restart All LSP Servers"));
auto addSeparator = [this]() {
auto *sep1 = new QAction();
auto *sep1 = new QAction(this);
sep1->setSeparator(true);
m_contextMenuActions << sep1;
};
......
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