diff options
| author | 2016-03-06 05:50:30 +0000 | |
|---|---|---|
| committer | 2016-03-06 06:43:45 +0000 | |
| commit | 3984bda94edfcd3c81df67ac3f004fc1dae8e2c3 (patch) | |
| tree | 8481800d8eac23ba8983024e70e65c72df2fcd05 /src/modules | |
| parent | add newnetwork + newserver icons and update assignments (diff) | |
| download | KVIrc-3984bda94edfcd3c81df67ac3f004fc1dae8e2c3.tar.gz KVIrc-3984bda94edfcd3c81df67ac3f004fc1dae8e2c3.tar.bz2 KVIrc-3984bda94edfcd3c81df67ac3f004fc1dae8e2c3.zip | |
OptionsWidget_servers: fix indentation & remove separator
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/options/OptionsWidget_servers.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/options/OptionsWidget_servers.cpp b/src/modules/options/OptionsWidget_servers.cpp index 2ac59eb5e..c37677233 100644 --- a/src/modules/options/OptionsWidget_servers.cpp +++ b/src/modules/options/OptionsWidget_servers.cpp @@ -1836,21 +1836,20 @@ void OptionsWidget_servers::customContextMenuRequested(const QPoint &pnt) m_pContextPopup->clear(); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::NewNetwork)),__tr2qs_ctx("New Network","options"),this,SLOT(newNetwork())); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Remove)),__tr2qs_ctx("Remove Network","options"),this,SLOT(removeCurrent())) - ->setEnabled(!bServer); + ->setEnabled(!bServer); m_pContextPopup->addSeparator(); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::NewServer)),__tr2qs_ctx("&New Server","options"),this,SLOT(newServer())); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::ServerFavorite)), __tr2qs_ctx(bFavorite?"Unfavorite Server":"Favorite Server","options"),this,SLOT(favoriteServer())); m_pContextPopup->setEnabled(bServer); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Remove)),__tr2qs_ctx("Re&move Server","options"),this,SLOT(removeCurrent())) - ->setEnabled(bServer); + ->setEnabled(bServer); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Copy)),__tr2qs_ctx("&Copy Server","options"),this,SLOT(copyServer())); m_pContextPopup->setEnabled(bServer); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Paste)),__tr2qs_ctx("&Paste Server","options"),this,SLOT(pasteServer())) - ->setEnabled(m_pClipboard); + ->setEnabled(m_pClipboard); m_pContextPopup->addSeparator(); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Folder)),__tr2qs_ctx("Import Server List","options"))->setMenu(m_pImportPopup); - m_pContextPopup->addSeparator(); m_pContextPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Remove)),__tr2qs_ctx("Clear Server List","options"),this,SLOT(clearList())); m_pContextPopup->popup(QCursor::pos()); } |
