Changeset 169 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Sep 14, 2006, 3:52:06 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r168 r169  
    419419void bncWindow::slotAbout() {
    420420
    421   QString str(
    422 #include "bncabout.html"
    423               );
    424 
    425421  QTextBrowser* tb = new QTextBrowser;
    426   tb->setHtml(str);
     422  QUrl url; url.setPath(":bncabout.html");
     423  tb->setSource(url);
    427424  tb->setReadOnly(true);
    428425
     
    446443void bncWindow::slotHelp() {
    447444
    448   QString str(
    449 #include "bnchelp.html"
    450               );
    451 
    452445  bncHtml* tb = new bncHtml;
    453   tb->setHtml(str);
     446  QUrl url; url.setPath(":bnchelp.html");
     447  tb->setSource(url);
    454448  tb->setReadOnly(true);
    455449
Note: See TracChangeset for help on using the changeset viewer.