Browse Source

fix ambiguous variable name forward

tags/1.3.1
Chris Cromer 7 months ago
parent
commit
e0b26bfb45
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/forward.xpm
  2. +4
    -4
      src/helpwindow.cpp

+ 1
- 1
src/forward.xpm View File

@@ -1,5 +1,5 @@
/* XPM */
static const char *forward[] = {
static const char *forward_icon[] = {
/* columns rows colors chars-per-pixel */
"16 16 5 1",
" c black",

+ 4
- 4
src/helpwindow.cpp View File

@@ -58,7 +58,7 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par


Q3StyleSheetItem* style;
// Modify the application-wide default style sheet to handle
// some extra HTML gracefully.
//
@@ -110,7 +110,7 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par
backwardId = go->insertItem( QPixmap(back),
"&Backward", browser, SLOT( backward() ),
Qt::ALT | Qt::Key_Left );
forwardId = go->insertItem( QPixmap(forward),
forwardId = go->insertItem( QPixmap(forward_icon),
"&Forward", browser, SLOT( forward() ),
Qt::ALT | Qt::Key_Right );
go->insertItem( QPixmap(home), "&Home", browser, SLOT( home() ) );
@@ -152,7 +152,7 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par
button = new QToolButton( QPixmap(back), "Backward", "", browser, SLOT(backward()), toolbar );
connect( browser, SIGNAL( backwardAvailable(bool) ), button, SLOT( setEnabled(bool) ) );
button->setEnabled( FALSE );
button = new QToolButton( QPixmap(forward), "Forward", "", browser, SLOT(forward()), toolbar );
button = new QToolButton( QPixmap(forward_icon), "Forward", "", browser, SLOT(forward()), toolbar );
connect( browser, SIGNAL( forwardAvailable(bool) ), button, SLOT( setEnabled(bool) ) );
button->setEnabled( FALSE );
button = new QToolButton( QPixmap(home), "Home", "", browser, SLOT(home()), toolbar );
@@ -365,7 +365,7 @@ void HelpWindow::hideEvent( QHideEvent * )
//*********************************************
void HelpWindow::showEvent( QShowEvent * )
{
if(window_list && window_list->isVisible())window_list->draw();

}

Loading…
Cancel
Save