aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Humpula <michal.humpula@seznam.cz>2014-01-19 17:01:13 (GMT)
committerMichal Humpula <michal.humpula@seznam.cz>2014-01-19 17:01:13 (GMT)
commit789d2d8fb07b7803ef58fea65c640da4f40ff39f (patch)
treec98c00d1011cb93adb98f0c02c03ea7724960ab2
parentea3353cdcb6e0980420dfef8f341a6063d150462 (diff)
filetree: bring back the print actions
-rw-r--r--kate/filetree/katefiletree.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kate/filetree/katefiletree.cpp b/kate/filetree/katefiletree.cpp
index 8ec1c60..d2d3929 100644
--- a/kate/filetree/katefiletree.cpp
+++ b/kate/filetree/katefiletree.cpp
@@ -560,7 +560,6 @@ void KateFileTree::slotDocumentNext()
void KateFileTree::slotPrintDocument()
{
-#if 0 //FIXME KF5, we need a view!
KTextEditor::Document *doc = model()->data(m_indexContextMenu, KateFileTreeModel::DocumentRole).value<KTextEditor::Document *>();
if (!doc) {
@@ -568,12 +567,10 @@ void KateFileTree::slotPrintDocument()
}
doc->print();
-#endif
}
void KateFileTree::slotPrintDocumentPreview()
{
-#if 0 //FIXME KF5, we need a view!
KTextEditor::Document *doc = model()->data(m_indexContextMenu, KateFileTreeModel::DocumentRole).value<KTextEditor::Document *>();
if (!doc) {
@@ -581,7 +578,6 @@ void KateFileTree::slotPrintDocumentPreview()
}
doc->printPreview();
-#endif
}
void KateFileTree::slotResetHistory()