Changeset 118 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
May 2, 2010, 11:59:26 PM (14 years ago)
Author:
laleppa
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
  • trunk/src/globals.h

    r117 r118  
    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.