~pkgcrosswire/bibletime/main

« back to all changes in this revision

Viewing changes to src/frontend/display/bthtmlreaddisplay.cpp

  • Committer: Jonathan Marsden
  • Date: 2011-12-23 20:32:12 UTC
  • Revision ID: jmarsden@fastmail.fm-20111223203212-1g3e35rlhbys07iu
New upstream version 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include <QSharedPointer>
13
13
#include <QMenu>
14
14
#include <QString>
15
 
#include "backend/config/cbtconfig.h"
16
15
#include "backend/keys/cswordkey.h"
17
16
#include "backend/managers/referencemanager.h"
18
17
#include "frontend/cdragdrop.h"
55
54
    namespace DU = util::directory;
56
55
 
57
56
    // read bthtml.js javascript file once
58
 
    if (javascript.size() == 0) {
 
57
    if (javascript.isEmpty()) {
59
58
        QString jsFile = DU::getJavascriptDir().canonicalPath() + "/bthtml.js";
60
59
        QFile file(jsFile);
61
60
        if (file.open(QFile::ReadOnly)) {
258
257
 
259
258
// Save the Lemma (Strongs number) attribute
260
259
void BtHtmlReadDisplay::setLemma(const QString& lemma) {
261
 
    m_nodeInfo[ CDisplay::Lemma ] = lemma;
 
260
    m_nodeInfo = lemma;
262
261
}
263
262
 
264
263
// Open the Find text dialog