Changeset aa64ad4082 in tspsg for src/mainwindow.cpp


Ignore:
Timestamp:
Mar 31, 2013, 2:18:22 PM (11 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10
Children:
95b0ef73dc
Parents:
0edec5a2ae
git-author:
Oleksii Serdiuk <contacts@…> (03/31/13 14:18:22)
git-committer:
Oleksii Serdiuk <contacts@…> (03/31/13 15:41:08)
Message:

Added proxy style and stylesheet to fix some UI issues on BlackBerry?.

Also, removed style selection option because most styles have UI issues
and removed About Qt menu item because About Qt dialog is too big.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

    r0edec5a2ae raa64ad4082  
    15421542        Ui_MainWindow::retranslateUi(this);
    15431543
     1544#ifdef Q_OS_BLACKBERRY
     1545    menuSettings->removeAction(menuSettingsStyle->menuAction());
     1546#else
    15441547    loadStyleList();
     1548#endif
    15451549    loadToolbarList();
    15461550
     
    16691673    actionHelpReportBug->setIcon(GET_ICON("tools-report-bug"));
    16701674    actionHelpAbout->setIcon(GET_ICON("help-about"));
     1675#ifdef Q_OS_BLACKBERRY
     1676    // Qt about dialog is too big for the screen
     1677    // and it's impossible to close it.
     1678    menuHelp->removeAction(actionHelpAboutQt);
     1679#else
    16711680    actionHelpAboutQt->setIcon(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"));
     1681#endif
    16721682#endif
    16731683    // Buttons
Note: See TracChangeset for help on using the changeset viewer.