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


Ignore:
Timestamp:
Oct 13, 2010, 10:25:51 PM (14 years ago)
Author:
laleppa
Message:

Some small tweaks...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainwindow.cpp

    r142 r143  
    12441244        foreach (language, langlist) {
    12451245                a = menuSettingsLanguage->addAction(language.at(2));
     1246#ifndef QT_NO_STATUSTIP
    12461247                a->setStatusTip(language.at(3));
     1248#endif
    12471249#if QT_VERSION >= 0x040600
    12481250                a->setIcon(QIcon::fromTheme(QString("flag-%1").arg(language.at(1)), QIcon(QString(":/images/icons/l10n/flag-%1.png").arg(language.at(1)))));
     
    13351337                a = menuSettingsStyle->addAction(style);
    13361338                a->setData(false);
     1339#ifndef QT_NO_STATUSTIP
    13371340                a->setStatusTip(tr("Set application style to %1").arg(style));
     1341#endif
    13381342                a->setCheckable(true);
    13391343                a->setActionGroup(groupSettingsStyleList);
     
    14401444#ifndef QT_NO_STATUSTIP
    14411445        actionFilePrintPreview->setStatusTip(tr("Preview current solution results before printing"));
    1442 #endif // QT_NO_STATUSTIP
    1443 #ifndef QT_NO_STATUSTIP
    14441446        actionFileExit->setStatusTip(tr("Exit %1").arg(QCoreApplication::applicationName()));
    14451447#endif // QT_NO_STATUSTIP
Note: See TracChangeset for help on using the changeset viewer.