Changeset aa64ad4082 in tspsg for src
- Timestamp:
- Mar 31, 2013, 2:18:22 PM (12 years ago)
- 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)
- Location:
- src
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cpp
r0edec5a2ae raa64ad4082 23 23 24 24 #include "mainwindow.h" 25 #ifdef Q_OS_BLACKBERRY 26 # include "bb10proxystyle.h" 27 #endif // Q_OS_BLACKBERRY 28 25 29 #if QT_VERSION < 0x040600 26 30 # ifdef Q_CC_MSVC … … 55 59 app.setApplicationName("TSP Solver and Generator"); 56 60 app.setApplicationVersion(BUILD_VERSION); 61 62 #ifdef Q_OS_BLACKBERRY 63 QApplication::setStartDragDistance(42); 64 QApplication::setStyle(new BB10ProxyStyle); 65 app.setStyleSheet(CSS_FIX); 66 #endif // Q_OS_BLACKBERRY 57 67 58 68 // Seeding random number generator -
src/mainwindow.cpp
r0edec5a2ae raa64ad4082 1542 1542 Ui_MainWindow::retranslateUi(this); 1543 1543 1544 #ifdef Q_OS_BLACKBERRY 1545 menuSettings->removeAction(menuSettingsStyle->menuAction()); 1546 #else 1544 1547 loadStyleList(); 1548 #endif 1545 1549 loadToolbarList(); 1546 1550 … … 1669 1673 actionHelpReportBug->setIcon(GET_ICON("tools-report-bug")); 1670 1674 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 1671 1680 actionHelpAboutQt->setIcon(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png")); 1681 #endif 1672 1682 #endif 1673 1683 // Buttons
Note: See TracChangeset
for help on using the changeset viewer.