Skip to content

Commit

Permalink
v1.09d, Fix issue with spaces after end quotation in #include paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thedjnK committed Oct 16, 2017
2 parents ac1886c + 999991f commit aef3e1e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion UwxMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4540,7 +4540,8 @@ MainWindow::replyFinished(
else
{
//Remove quotes
strIncludeName = strIncludeName.replace("\"", "");
strIncludeName = strIncludeName.left(strIncludeName.indexOf("\"", strIncludeName.indexOf("\"")+1));
strIncludeName = strIncludeName.right(strIncludeName.length()-strIncludeName.indexOf("\"")-1);
}

//Open the file
Expand Down
2 changes: 1 addition & 1 deletion UwxMainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const qint8 MODE_UPDATE_ERROR_CODE = 16;
const qint8 MODE_CHECK_FIRMWARE_VERSIONS = 17;
const qint8 MODE_CHECK_FIRMWARE_SUPPORT = 18;
//Constants for version and functions
const QString UwVersion = "1.09c"; //Version string
const QString UwVersion = "1.09d"; //Version string
//Constants for timeouts and streaming
const qint16 FileReadBlock = 512; //Number of bytes to read per block when streaming files
const qint16 StreamProgress = 10000; //Number of bytes between streaming progress updates
Expand Down
19 changes: 19 additions & 0 deletions UwxMainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3054,6 +3054,25 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="check_SpeedGraph">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Check this to escape character codes (scroll down in the 'About' tab for information on this feature)</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>Graph</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="check_SpeedStringUnescape">
<property name="enabled">
Expand Down

0 comments on commit aef3e1e

Please sign in to comment.