Changeset 1cb2922 in terepaima for terepaima-0.4.16/sources
- Timestamp:
- Nov 3, 2016, 4:41:34 PM (8 years ago)
- Branches:
- master, desarrollo, stretch
- Children:
- 8663130
- Parents:
- 56d648b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
terepaima-0.4.16/sources/helpdialog.cpp
r1f4adec r1cb2922 42 42 m_textBrowser = new QTextBrowser(this); 43 43 m_textBrowser->setTextInteractionFlags(Qt::TextBrowserInteraction | Qt::TextSelectableByKeyboard); 44 m_textBrowser->setSearchPaths(QStringList() << QDir(QApplication::applicationDirPath()).filePath("data") << DATA_INSTALL_PATH); 44 //m_textBrowser->setSearchPaths(QStringList() << QDir(QApplication::applicationDirPath()).filePath("data") << DATA_INSTALL_PATH); 45 // search files in /usr/share/terepaima 46 m_textBrowser->setSearchPaths(QStringList() << "/usr/share/terepaima"); 45 47 46 48 //: Please replace by file name of localized help if available, e.g. "help_fr.html". 47 m_textBrowser->setSource(QUrl::fromLocalFile(tr("help.html"))); 49 //m_textBrowser->setSource(QUrl::fromLocalFile(tr("help.html"))); 50 m_textBrowser->setSource(QUrl::fromLocalFile(tr("help_es.html"))); 48 51 49 52 if(m_textBrowser->document()->isEmpty())
Note: See TracChangeset
for help on using the changeset viewer.