Changeset 31694c8b58 in tspsg for src/main.cpp


Ignore:
Timestamp:
Sep 16, 2012, 10:40:01 PM (12 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
1b0d08aa2e
Parents:
0784c85e46
git-author:
Oleksii Serdiuk <contacts@…> (09/16/12 22:40:01)
git-committer:
Oleksii Serdiuk <contacts@…> (09/16/12 22:41:39)
Message:

Fixed wrong placement of tspsg.ini on Windows Mobile.

Also, Main Window stopped showing maximized on Windows Mobile. Made a
workaround for this.

Closes #15 - Try to fix wrong placement of tspsg.ini.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    r0784c85e46 r31694c8b58  
    9292#ifdef HANDHELD
    9393    mainwindow.showMaximized();
     94#ifdef Q_OS_WINCE_WM
     95    /*!
     96     * \hack HACK: For some reason showMaximized() stopped working on
     97     *  Windows Mobile. This workaround works all the time.
     98     */
     99    mainwindow.setWindowState(Qt::WindowMaximized);
     100#endif // Q_OS_WINCE_WM
    94101#else // HANDHELD
    95102    mainwindow.show();
Note: See TracChangeset for help on using the changeset viewer.