summaryrefslogtreecommitdiffhomepage
path: root/gui/main.cpp
AgeCommit message (Collapse)Author
2016-09-16gui, logic: add separate option for starting in tray vs tray enabledStanislaw Halik
Suggested-by: @MathijsG, #454
2016-09-16gui/main-window: exit program when config not writableStanislaw Halik
Note, it opens the config in read-write mode to check if it's writable. This might present a race condition when config is saved. However, we're expecting all config saving to be done in the user interface thread. Add a check for it however.
2016-09-16compat, dinput: don't overdo COM logicStanislaw Halik
2016-09-09gui/main: rewordStanislaw Halik
2016-09-09add support for migrationsStanislaw Halik
They're run from the UI thread so can even be interactive.
2016-09-08gui/main: terminate before main ends on msvcStanislaw Halik
2016-09-05gui/{main,mappings}: fix tab stopsStanislaw Halik
2016-09-03simplify some on-exit messagesStanislaw Halik
2016-08-28gui/main: fix MSVC crash on exitStanislaw Halik
Qt loads plugins from its install prefix and after main() exits it unloads qgif which has a crash. So disable the Qt install prefix plugins and only use our own directory's contents.
2016-08-23gui/main: fix link error on msvc++Stanislaw Halik
2016-08-23cmake: define MINGW_HAS_SECURE_APIStanislaw Halik
2016-08-17compat/win32-com: default to right COM type without caller specifying itStanislaw Halik
The main window always needs the apartment threaded context for OLE used by Qt. Default to apartment threaded before a QApplication is created, or if the thread is the QApplication thread. Use multithreaded COM otherwise.
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-12few: use existing com threading init functionStanislaw Halik
2016-08-10gui/main: don't just exit event loop on last window closedStanislaw Halik
2016-08-10gui/main: display exit messages to debug what destructor is called whereStanislaw Halik
2016-08-10gui: there's no crash on exit in MSVC build anymoreStanislaw Halik
Reported-by: @DaMichel cf. https://github.com/DaMichel/opentrack/commit/777942eb65884ba9248c01399a4a5d1e72a35d80#commitcomment-18587629
2016-08-10gui: fix tray icon regressionStanislaw Halik
Issue: #410 Reported-by: @albertolg
2016-08-10gui: only rename main window filesStanislaw Halik
Adjust usages.
2016-08-07Fix trivial build errors on linux. Also support Qt 5.5.DaMichel
2016-07-30gui/main: fix qt style paletteStanislaw Halik
Only changing style after QApplication's been defined sets the palette.
2016-07-23gui: don't try to force "windowsxp" styleStanislaw Halik
2016-07-23gui/main: enable display scaling. move setenv PATH as own functionStanislaw Halik
2016-07-18gui: add application path and modules subdir to PATHStanislaw Halik
Without it, win32 won't load some modules. This is probably a security feature on windows nt.
2016-07-06gui, api, csv: support hier(7) on UnixStanislaw Halik
This affects platforms such as FreeBSD, Cygwin or Linux.
2015-11-01all: adjust options.hpp move to compatStanislaw Halik
2015-10-30rename gui directoryStanislaw Halik