Changeset 7bb19df196 in tspsg for src/globals.h


Ignore:
Timestamp:
May 2, 2010, 11:59:26 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
8b0661d1ee
Parents:
94cd045fad
git-author:
Oleksii Serdiuk <contacts@…> (05/02/10 23:59:26)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:43)
Message:

Finished toolbar customization feature.
It is not available on handheld devices (mainly, because the customization dialog is too big for a small screen).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    r94cd045fad r7bb19df196  
    3535        #include <QtSvg>
    3636#endif // NOSVG && QT_VERSION >= 0x040500
    37 #include <QtToolBarDialog>
     37
     38#if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN)
     39        //! This is defined on handheld devices (e.g., Windows Mobile, Symbian).
     40        #define HANDHELD
     41#endif
     42
     43#ifndef HANDHELD
     44        #include <QtToolBarDialog>
     45#endif
    3846
    3947// Version info
     
    111119#endif // Q_OS_WIN32
    112120
    113 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN)
    114         //! This is defined on handheld (e.g., Windows Mobile, Symbian) devices.
    115         #define HANDHELD
    116 #endif
    117 
    118121// Sanity checks
    119122// Check that default number of cities is sane (<= MAX_NUM_CITIES)
Note: See TracChangeset for help on using the changeset viewer.