Changeset 89e5214692 in tspsg for src/main.cpp


Ignore:
Timestamp:
Sep 12, 2012, 6:50:04 PM (12 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
197f54a2b9
Parents:
f48433245d
Message:

Replaced all Q_WS_xxx with Q_OS_xxx ifdefs where possible.

This is needed for compatibility with Qt 5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    rf48433245d r89e5214692  
    4141int main(int argc, char *argv[])
    4242{
    43 #ifdef Q_WS_S60
     43#ifdef Q_OS_SYMBIAN
    4444    // Not enough memory for solution graph generation with tasks
    4545    // of 20 and more cities if we use non-raster graphics system.
     
    6161    qsrand(QDateTime::currentDateTime().toTime_t() ^ QCursor::pos().x() ^ QCursor::pos().y());
    6262
    63 #ifdef Q_WS_WINCE_WM
     63#ifdef Q_OS_WINCE_WM
    6464    // Qt "leaves" unpacked .ttf files after running - let's try to delete them.
    6565QStringList files = QDir(app.applicationDirPath(), "*.ttf").entryList();
     
    8181
    8282MainWindow mainwindow;
    83 #ifdef Q_WS_S60
     83#ifdef Q_OS_SYMBIAN
    8484    //! \hack HACK: A workaround to hide Actions menu item in Symbian.
    8585QWidgetList widgets = QApplication::allWidgets();
Note: See TracChangeset for help on using the changeset viewer.