Changeset 8233 in ntrip


Ignore:
Timestamp:
Jan 4, 2018, 1:33:05 PM (4 months ago)
Author:
wiese
Message:

CHANGE: access resource with :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r8232 r8233  
    22402240////////////////////////////////////////////////////////////////////////////
    22412241void bncWindow::slotHelp() {
    2242   QUrl url = QUrl::fromLocalFile(":bnchelp.html");
     2242  QUrl url = QUrl::fromLocalFile(":/bnchelp.html");
    22432243  new bncHlpDlg(0, url);
    22442244}
     
    23392339
    23402340  QTextBrowser* tb = new QTextBrowser;
    2341   QUrl url = QUrl::fromLocalFile(":bncabout.html");
     2341  QUrl url = QUrl::fromLocalFile(":/bncabout.html");
    23422342  tb->setSource(url);
    23432343  tb->setReadOnly(true);
Note: See TracChangeset for help on using the changeset viewer.