Changeset b2e8e7ec71 in tspsg for src


Ignore:
Timestamp:
Sep 5, 2010, 2:42:20 AM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
bbac1ebb13
Parents:
b81c0a73b7
git-author:
Oleksii Serdiuk <contacts@…> (09/05/10 02:42:20)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:
  • TSPSG "leaves" .ttf file after running under Windows Mobile - trying to delete all "left" .ttf files on start.
  • Updated README.txt.
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    rb81c0a73b7 rb2e8e7ec71  
    4747        app.setOrganizationName("Oleksii \"Lёppa\" Serdiuk");
    4848        app.setOrganizationDomain("oleksii.name");
    49         app.setApplicationName("TSPSG: TSP Solver and Generator");
     49        app.setApplicationName("TSP Solver and Generator");
    5050        app.setApplicationVersion(BUILD_VERSION);
    5151
     
    5353        qsrand(QDateTime::currentDateTime().toTime_t() ^ QCursor::pos().x() ^ QCursor::pos().y());
    5454
     55#ifdef Q_OS_WINCE_WM
     56        // Qt "leaves" unpacked .ttf files after running - let's try to delete them.
     57QStringList files = QDir(app.applicationDirPath(), "*.ttf").entryList();
     58        foreach (QString file, files) {
     59                QFile::remove(file);
     60        }
     61#endif
    5562        // Don't load the font if it is already available
    5663        if (!QFontDatabase().families().contains(DEF_FONT_FACE))
  • src/os.h

    rb81c0a73b7 rb2e8e7ec71  
    6363 * \brief The target operating system ID.
    6464 *
    65  * This value is used in task file metadata.
     65 * This value will be used in task file metadata.
    6666 */
    6767#ifdef Q_OS_AIX
Note: See TracChangeset for help on using the changeset viewer.