File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181#define MODE_CHECK_FIRMWARE_VERSIONS 17
8282#define MODE_CHECK_FIRMWARE_SUPPORT 18
8383// Defines for version and functions
84- #define UwVersion " 1.02c " // Version string
84+ #define UwVersion " 1.03 " // Version string
8585#define FileReadBlock 512 // Number of bytes to read per block when streaming files
8686#define StreamProgress 10000 // Number of bytes between streaming progress updates
8787#define BatchTimeout 4000 // Time (in mS) to wait for getting a response from a batch command for
Original file line number Diff line number Diff line change 2727#include " UwxMainWindow.h"
2828#include < QApplication>
2929#include < QCommandLineParser>
30+ #if TARGET_OS_MAC
31+ #include < QStyleFactory>
32+ #endif
3033
3134// =============================================================================
3235// =============================================================================
3740 )
3841{
3942 QApplication a (argc, argv);
43+ #if TARGET_OS_MAC
44+ // Fix for Mac to stop bad styling
45+ QApplication::setStyle (QStyleFactory::create (" Fusion" ));
46+ #endif
4047 MainWindow w;
4148 w.show ();
4249
You can’t perform that action at this time.
0 commit comments