From 30bc239cd8461c9fe38647c0a0f759de2ecb5b52 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Fri, 22 Jun 2012 15:49:56 +0200 Subject: [PATCH] Now using our own command-line parser, based on GetCommandLineW() + CommandLineToArgvW , instead of using QApplication::arguments(). This is less portable, but Qt's internal command-line parser has some rather strange behavior with processing certain characters. As a result, with Qt's command-line parser, some path names passed to LameXP got screwed up! Specifically "C:\Some Path\''Foo''.mp3" got mangled to "C:\Some Path''Foo''.mp3", i.e. the Backslash disappeared! Should be fixed now. --- doc/Changelog.html | 1 + etc/Deployment/_version.bat | 3 ++- etc/Translation/Blank.ts | 8 ++++---- etc/Translation/LameXP_PL.ts | 8 ++++---- etc/Translation/LameXP_SV.ts | 8 ++++---- src/Config.h | 2 +- src/Dialog_MainWindow.cpp | 2 +- src/Global.cpp | 42 ++++++++++++++++++++++++++++++++++++++---- src/Global.h | 3 ++- src/Main.cpp | 9 ++++++--- src/Thread_MessageProducer.cpp | 2 +- 11 files changed, 64 insertions(+), 24 deletions(-) diff --git a/doc/Changelog.html b/doc/Changelog.html index 44d46980..8b537303 100644 --- a/doc/Changelog.html +++ b/doc/Changelog.html @@ -24,6 +24,7 @@ a:visited { color: #0000EE; }
  • Implemented multi-threading in initialization code for faster application startup
  • Fixed a potential crash (stack overflow) when adding a huge number of files
  • Fixed a problem with Cue Sheet import and files that contain trailing dots in their name +
  • Workaround for a bug (feature?) of Qt's command-line parser that screwed up some arguments
    Changes between v4.03 and v4.04 [2012-04-26]: