Skip to content

Commit aef3e1e

Browse files
committed
v1.09d, Fix issue with spaces after end quotation in #include paths
2 parents ac1886c + 999991f commit aef3e1e

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

UwxMainWindow.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4540,7 +4540,8 @@ MainWindow::replyFinished(
45404540
else
45414541
{
45424542
//Remove quotes
4543-
strIncludeName = strIncludeName.replace("\"", "");
4543+
strIncludeName = strIncludeName.left(strIncludeName.indexOf("\"", strIncludeName.indexOf("\"")+1));
4544+
strIncludeName = strIncludeName.right(strIncludeName.length()-strIncludeName.indexOf("\"")-1);
45444545
}
45454546

45464547
//Open the file

UwxMainWindow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const qint8 MODE_UPDATE_ERROR_CODE = 16;
103103
const qint8 MODE_CHECK_FIRMWARE_VERSIONS = 17;
104104
const qint8 MODE_CHECK_FIRMWARE_SUPPORT = 18;
105105
//Constants for version and functions
106-
const QString UwVersion = "1.09c"; //Version string
106+
const QString UwVersion = "1.09d"; //Version string
107107
//Constants for timeouts and streaming
108108
const qint16 FileReadBlock = 512; //Number of bytes to read per block when streaming files
109109
const qint16 StreamProgress = 10000; //Number of bytes between streaming progress updates

UwxMainWindow.ui

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3054,6 +3054,25 @@
30543054
</property>
30553055
</widget>
30563056
</item>
3057+
<item>
3058+
<widget class="QCheckBox" name="check_SpeedGraph">
3059+
<property name="enabled">
3060+
<bool>true</bool>
3061+
</property>
3062+
<property name="toolTip">
3063+
<string>Check this to escape character codes (scroll down in the 'About' tab for information on this feature)</string>
3064+
</property>
3065+
<property name="layoutDirection">
3066+
<enum>Qt::RightToLeft</enum>
3067+
</property>
3068+
<property name="text">
3069+
<string>Graph</string>
3070+
</property>
3071+
<property name="checked">
3072+
<bool>true</bool>
3073+
</property>
3074+
</widget>
3075+
</item>
30573076
<item>
30583077
<widget class="QCheckBox" name="check_SpeedStringUnescape">
30593078
<property name="enabled">

0 commit comments

Comments
 (0)