Changeset 126 in tspsg-svn for trunk/src/mainwindow.cpp


Ignore:
Timestamp:
Aug 30, 2010, 8:00:47 PM (14 years ago)
Author:
laleppa
Message:

+ Added icon on the OK button in the About dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainwindow.cpp

    r125 r126  
    451451#ifndef HANDHELD
    452452        title += QString("<b>&copy; 2007-%1 <a href=\"http://%2/\">%3</a></b><br>").arg(QDate::currentDate().toString("yyyy"), QApplication::organizationDomain(), QApplication::organizationName());
    453         title += QString("<b><a href=\"http://tspsg.sourceforge.net/\">http://tspsg.sourceforge.net/</a></b>");
    454 #else
    455         title += QString("<b><a href=\"http://tspsg.sourceforge.net/\">http://tspsg.sf.net/</a></b>");
    456 #endif // HANDHELD
     453#endif // HANDHELD
     454        title += QString("<b><a href=\"http://tspsg.info/\">http://tspsg.info/</a></b>");
    457455
    458456QString about;
     
    554552
    555553        bb->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor));
     554        bb->button(QDialogButtonBox::Ok)->setIcon(QIcon::fromTheme("dialog-ok", QIcon(":/images/icons/dialog-ok.png")));
    556555
    557556        hb2->addWidget(bb);
Note: See TracChangeset for help on using the changeset viewer.