diff options
| author | 2018-04-22 21:05:01 -0400 | |
|---|---|---|
| committer | 2018-04-22 21:05:01 -0400 | |
| commit | 47140bffc86aede4669f0117c556fc8c290ff7e4 (patch) | |
| tree | 6b0911dfad4e30fb28292956439179a899e36201 /src/modules/popupeditor | |
| parent | KviKvsObject: Fix checking validity of returned QMetaProperty (diff) | |
| download | KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.tar.gz KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.tar.bz2 KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.zip | |
Remove dead and useless code
Diffstat (limited to 'src/modules/popupeditor')
| -rw-r--r-- | src/modules/popupeditor/PopupEditorWindow.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/popupeditor/PopupEditorWindow.cpp b/src/modules/popupeditor/PopupEditorWindow.cpp index 60b7741f6..572a8e7bd 100644 --- a/src/modules/popupeditor/PopupEditorWindow.cpp +++ b/src/modules/popupeditor/PopupEditorWindow.cpp @@ -450,15 +450,10 @@ void SinglePopupEditor::customContextMenuRequested(const QPoint & pos) __tr2qs_ctx("Paste Inside", "editor"), this, SLOT(contextPasteInside())) ->setEnabled(it && bIsMenu && m_pClipboard); - bool bSeparatorInserted = false; - m_pContextPopup->addSeparator(); - bSeparatorInserted = true; m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Prologue)), __tr2qs_ctx("New Menu Prologue", "editor"), this, SLOT(contextNewPrologue())); - if(!bSeparatorInserted) - m_pContextPopup->addSeparator(); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Epilogue)), __tr2qs_ctx("New Menu Epilogue", "editor"), this, SLOT(contextNewEpilogue())); |
