Skip to content

Commit

Permalink
use native style on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bleuzen committed Apr 14, 2019
1 parent 3ecfc63 commit 67db7df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion build_win32.bat
Expand Up @@ -12,7 +12,7 @@ for /f "delims=" %%F in ('dir /b /a-d ^| findstr /vile ".exe"') do del "%%F"

windeployqt.exe --release --compiler-runtime .

rmdir /s /q iconengines imageformats styles
rmdir /s /q iconengines imageformats
del D3Dcompiler_47.dll Qt5Svg.dll opengl32sw.dll libGLESV2.dll libEGL.dll

echo .
Expand Down
4 changes: 0 additions & 4 deletions src/main.cpp
Expand Up @@ -45,10 +45,6 @@ int main(int argc, char *argv[])

app.setWindowIcon(QIcon(":/com.github.Bleuzen.FFaudioConverter.ico"));

#ifdef Q_OS_WIN
app.setStyle(QStyleFactory::create("Fusion")); // Use Fusion style on Windows because it looks better
#endif

// Register ENUMs
qRegisterMetaType<FFmpegTask::ConvertStatus>("FFmpegTask::ConvertStatus");

Expand Down

0 comments on commit 67db7df

Please sign in to comment.