summaryrefslogtreecommitdiffstats
path: root/konqueror/listview/konq_treeviewitem.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-04 18:27:03 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-04 18:27:03 -0500
commitdc94a41a15af93d28310c04e224419fb033b7a7e (patch)
treec45d19adb00df0cd9c4df1142404fcaab723fdfa /konqueror/listview/konq_treeviewitem.cc
parentf3becf2104c8a615807ca62ce7c170624aab9ea5 (diff)
downloadtdebase-dc94a41a15af93d28310c04e224419fb033b7a7e.tar.gz
tdebase-dc94a41a15af93d28310c04e224419fb033b7a7e.zip
Fix rare Konqueror crash in tree view mode
This relates to Bug 1820
Diffstat (limited to 'konqueror/listview/konq_treeviewitem.cc')
-rw-r--r--konqueror/listview/konq_treeviewitem.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/konqueror/listview/konq_treeviewitem.cc b/konqueror/listview/konq_treeviewitem.cc
index 32baf1c41..12953c401 100644
--- a/konqueror/listview/konq_treeviewitem.cc
+++ b/konqueror/listview/konq_treeviewitem.cc
@@ -89,8 +89,13 @@ void KonqListViewDir::open( bool _open, bool _reload )
}
}
+KURL KonqListViewDir::kurl()
+{
+ return m_fileitemURL;
+}
+
TQString KonqListViewDir::url( int _trailing )
{
- return item()->url().url( _trailing );
+ return m_fileitemURL.url( _trailing );
}