aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview
diff options
context:
space:
mode:
authorGravatar Alex P2017-03-15 15:19:51 +0200
committerGravatar Benjamin Staneck2019-09-07 17:55:36 +0200
commit86747b0888c8ad59c0a4c12b91c1099df52a1cb2 (patch)
treeb6902cf85a5ec3b5b479c3c02150268b28190c6c /src/modules/logview
parentChange HTTP redirect limit to 20. (diff)
downloadKVIrc-86747b0888c8ad59c0a4c12b91c1099df52a1cb2.tar.gz
KVIrc-86747b0888c8ad59c0a4c12b91c1099df52a1cb2.tar.bz2
KVIrc-86747b0888c8ad59c0a4c12b91c1099df52a1cb2.zip
add export for all logs (channel, etc.)
this line was always commented (since initial impl in 184e489) but this feature seems to be working fine
Diffstat (limited to 'src/modules/logview')
-rw-r--r--src/modules/logview/LogViewWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/logview/LogViewWindow.cpp b/src/modules/logview/LogViewWindow.cpp
index f954ad9df..902339cb4 100644
--- a/src/modules/logview/LogViewWindow.cpp
+++ b/src/modules/logview/LogViewWindow.cpp
@@ -451,7 +451,8 @@ void LogViewWindow::rightButtonClicked(QTreeWidgetItem * pItem, const QPoint &)
QMenu * pPopup = new QMenu(this);
if(((LogListViewItem *)pItem)->childCount())
{
- //pPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::UserList)),__tr2qs_ctx("Export all log files to","log"),m_pExportLogPopup);
+ // TODO: probably should allow to specify a directory instead of asking for file path on each log file
+ pPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Save)), __tr2qs_ctx("Export All Log Files to", "log"))->setMenu(m_pExportLogPopup);
pPopup->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Discard)), __tr2qs_ctx("Remove All Log Files Within This Folder", "log"), this, SLOT(deleteCurrent()));
}
else