~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/mainwindow.cpp

  • Committer: Adam Reichold
  • Date: 2012-12-01 12:16:19 UTC
  • Revision ID: adamreichold@myopera.com-20121201121619-cjbsuvztd18x9pb4
search for data files in the 'data' subdirectory of the application directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1247
1247
    QDialog* dialog = new QDialog(this);
1248
1248
 
1249
1249
    QTextBrowser* textBrowser = new QTextBrowser(dialog);
1250
 
    textBrowser->setSearchPaths(QStringList() << DATA_INSTALL_PATH << QApplication::applicationDirPath());
 
1250
    textBrowser->setSearchPaths(QStringList() << DATA_INSTALL_PATH << QApplication::applicationDirPath() + "/data");
1251
1251
    textBrowser->setSource(QUrl("help.html"));
1252
1252
 
1253
1253
    QDialogButtonBox* dialogButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok, Qt::Horizontal, dialog);