Skip to content

Commit 999991f

Browse files
committed
v1.09d, fix issue with spaces after end quotation in #include paths
1 parent 9bbcd0a commit 999991f

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

UwxMainWindow.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
634634
if (slArgs[chi].toUpper() == "DUPLICATE")
635635
{
636636
//Duplicate window so move to the top
637+
this->activateWindow();
637638
this->raise();
638639
}
639640
if (slArgs[chi].toUpper() == "ACCEPT")
@@ -4539,7 +4540,8 @@ MainWindow::replyFinished(
45394540
else
45404541
{
45414542
//Remove quotes
4542-
strIncludeName = strIncludeName.replace("\"", "");
4543+
strIncludeName = strIncludeName.left(strIncludeName.indexOf("\"", strIncludeName.indexOf("\"")+1));
4544+
strIncludeName = strIncludeName.right(strIncludeName.length()-strIncludeName.indexOf("\"")-1);
45434545
}
45444546

45454547
//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)