From 30a87f7ddb6b509bf349b0a5aeac4fc7caba6ac2 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 13 Mar 2008 13:07:08 +0000 Subject: [PATCH] Backport: return the tooltip as well. CCBUG: 159237 svn path=/branches/KDE/4.0/kdegraphics/okular/; revision=785177 --- ui/tocmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/tocmodel.cpp b/ui/tocmodel.cpp index a555c55b2..f6eb429d8 100644 --- a/ui/tocmodel.cpp +++ b/ui/tocmodel.cpp @@ -179,6 +179,7 @@ QVariant TOCModel::data( const QModelIndex &index, int role ) const switch ( role ) { case Qt::DisplayRole: + case Qt::ToolTipRole: return item->text; break; case Qt::DecorationRole: