-rw-r--r-- | core/apps/helpbrowser/helpbrowser.cpp | 6 | ||||
-rw-r--r-- | core/apps/helpbrowser/pics/home.png | bin | 693 -> 0 bytes |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/helpbrowser/helpbrowser.cpp b/core/apps/helpbrowser/helpbrowser.cpp index e20d49b..48da7c6 100644 --- a/core/apps/helpbrowser/helpbrowser.cpp +++ b/core/apps/helpbrowser/helpbrowser.cpp @@ -95,13 +95,13 @@ void HelpBrowser::init( const QString& _home ) forwardAction, SLOT( setEnabled( bool ) ) ); //forwardAction->addTo( go ); forwardAction->addTo( toolbar ); forwardAction->setEnabled( FALSE ); QAction *a = new QAction( tr( "Home" ), Resource::loadPixmap( -"helpbrowser/home" ), QString::null, 0, this, 0 ); +"home" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), browser, SLOT( home() ) ); //a->addTo( go ); a->addTo( toolbar ); bookm = new QPopupMenu( this ); bookm->insertItem( tr( "Add Bookmark" ), this, SLOT( addBookmark() ) ); @@ -133,13 +133,13 @@ void HelpBrowser::appMessage(const QCString& msg, const QByteArray& data) } void HelpBrowser::setDocument( const QString &doc ) { if ( !doc.isEmpty() ) browser->setSource( doc ); - raise(); + raise(); } void HelpBrowser::textChanged() { if ( browser->documentTitle().isNull() ) @@ -188,13 +188,13 @@ void HelpBrowser::readBookmarks() int equal = current.find( "=" ); if ( equal < 1 || equal == (int)current.length() - 1 ) continue; b.name = current.left( equal ); b.file = current.mid( equal + 1 ); mBookmarks[ bookm->insertItem( b.name ) ] = b; - } + } } } void HelpBrowser::bookmChosen( int i ) { if ( mBookmarks.contains( i ) ) diff --git a/core/apps/helpbrowser/pics/home.png b/core/apps/helpbrowser/pics/home.png Binary files differdeleted file mode 100644 index e9ba024..0000000 --- a/core/apps/helpbrowser/pics/home.png +++ b/dev/null |