summaryrefslogtreecommitdiff
path: root/src/frontend/crossrefrendering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/crossrefrendering.cpp')
-rw-r--r--src/frontend/crossrefrendering.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/crossrefrendering.cpp b/src/frontend/crossrefrendering.cpp
index 616766c..ac538da 100644
--- a/src/frontend/crossrefrendering.cpp
+++ b/src/frontend/crossrefrendering.cpp
@@ -18,18 +18,18 @@ namespace InfoDisplay {
CrossRefRendering::CrossRefRendering(const DisplayOptions &displayOptions,
const FilterOptions &filterOptions)
- : CHTMLExportRendering(Settings(), displayOptions, filterOptions)
+ : CHTMLExportRendering(true, displayOptions, filterOptions)
{
// Intentionally empty
}
-const QString CrossRefRendering::finishText( const QString& text, KeyTree& ) {
- // qDebug() << "CrossRefRendering::finishText";
+QString CrossRefRendering::finishText(const QString &text, const KeyTree &tree) {
+ Q_UNUSED(tree);
return text;
}
-const QString CrossRefRendering::entryLink(const KeyTreeItem &item,
- const CSwordModuleInfo *module)
+QString CrossRefRendering::entryLink(const KeyTreeItem &item,
+ const CSwordModuleInfo *module)
{
QString linkText;
@@ -60,7 +60,7 @@ const QString CrossRefRendering::entryLink(const KeyTreeItem &item,
}
case KeyTreeItem::Settings::SimpleKey: {
if (isBible) {
- linkText = QString::number(vk.Verse());
+ linkText = QString::number(vk.getVerse());
break;
}
//fall through for non-Bible modules