fixed patch :)
Davy Brion <[email protected]>
| Newsgroups | gmane.comp.kde.kplato |
|---|---|
| Message-ID | <[email protected]> |
this patch should be better it uses <iostream> instead of <iostream.h> and it changed cerr to std::cerr
kptview.patch
(text/x-diff, 659 B)
--- ../kplato/kptview.cc 2002-07-02 10:15:55.000000000 +0200
+++ kptview.cc 2002-09-06 15:50:08.000000000 +0200
@@ -34,6 +34,7 @@
#include <kdebug.h>
#include <klistview.h>
+#include <iostream>
KPTView::KPTView(KPTPart* part, QWidget* parent, const char* name)
: KoView(part, parent, name)
@@ -126,7 +127,7 @@ void KPTView::slotAddTask() {
// Execute the dialog
if (dialog->exec()) {
KPTNode &node = ((KPTNodeItem *)m_listview->selectedItem())->getNode();
- cerr << "Adding child to " << node.name().latin1() << endl;
+ std::cerr << "Adding child to " << node.name().latin1() << endl;
node.addChildNode(task);
displayProject();