summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2008-12-22 00:24:23 +0100
committerPino Toscano <pino@kde.org>2008-12-22 00:24:23 +0100
commit3e2789257f5fc4ae0573a0c62ea380d8e83a5bb5 (patch)
treeab628dfdcf193159282356aa677dc31a8b96fdc6 /qt
parent7c053ab7623cea1ac650d3e960d2d91a1ef21557 (diff)
[Qt] deserialize also the value of 'right'
Diffstat (limited to 'qt')
-rw-r--r--qt/poppler-link.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/qt/poppler-link.cc b/qt/poppler-link.cc
index 1be74378..af6d6452 100644
--- a/qt/poppler-link.cc
+++ b/qt/poppler-link.cc
@@ -87,11 +87,12 @@ namespace Poppler {
m_pageNum = tokens[1].toInt();
m_left = tokens[2].toDouble();
m_bottom = tokens[3].toDouble();
- m_top = tokens[4].toDouble();
- m_zoom = tokens[5].toDouble();
- m_changeLeft = static_cast<bool>(tokens[6].toInt());
- m_changeTop = static_cast<bool>(tokens[7].toInt());
- m_changeZoom = static_cast<bool>(tokens[8].toInt());
+ m_right = tokens[4].toDouble();
+ m_top = tokens[5].toDouble();
+ m_zoom = tokens[6].toDouble();
+ m_changeLeft = static_cast<bool>(tokens[7].toInt());
+ m_changeTop = static_cast<bool>(tokens[8].toInt());
+ m_changeZoom = static_cast<bool>(tokens[9].toInt());
}
LinkDestination::Kind LinkDestination::kind() const