Skip to content

Commit

Permalink
v1.03, fixes Mac style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thedjnK committed Feb 19, 2016
1 parent a080374 commit ea8ec6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion UwxMainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#define MODE_CHECK_FIRMWARE_VERSIONS 17
#define MODE_CHECK_FIRMWARE_SUPPORT 18
//Defines for version and functions
#define UwVersion "1.02c" //Version string
#define UwVersion "1.03" //Version string
#define FileReadBlock 512 //Number of bytes to read per block when streaming files
#define StreamProgress 10000 //Number of bytes between streaming progress updates
#define BatchTimeout 4000 //Time (in mS) to wait for getting a response from a batch command for
Expand Down
7 changes: 7 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#include "UwxMainWindow.h"
#include <QApplication>
#include <QCommandLineParser>
#if TARGET_OS_MAC
#include <QStyleFactory>
#endif

//=============================================================================
//=============================================================================
Expand All @@ -37,6 +40,10 @@ main(
)
{
QApplication a(argc, argv);
#if TARGET_OS_MAC
//Fix for Mac to stop bad styling
QApplication::setStyle(QStyleFactory::create("Fusion"));
#endif
MainWindow w;
w.show();

Expand Down

0 comments on commit ea8ec6a

Please sign in to comment.