summaryrefslogtreecommitdiffstats
path: root/kplato/kptview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptview.cpp')
-rw-r--r--kplato/kptview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kplato/kptview.cpp b/kplato/kptview.cpp
index 238ff733..519de080 100644
--- a/kplato/kptview.cpp
+++ b/kplato/kptview.cpp
@@ -985,7 +985,7 @@ void View::slotExportGantt() {
TQString fn = KFileDialog::getSaveFileName( TQString(), TQString(), this );
if (!fn.isEmpty()) {
TQFile f(fn);
- m_ganttview->exportGantt(TQT_TQIODEVICE(&f));
+ m_ganttview->exportGantt(&f);
}
}