summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-08-06 12:19:25 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-08-06 12:24:52 +0100
commitd9809aa93ce4bdeb57f1ab81decea4b54cf20026 (patch)
tree8b62746692a01fb7d5e18acd1205249d8f4b2ee9 /gui
parent6ddfd98cdafefaa1b60273d5568b8dbd13730dae (diff)
cli: Split automatic trimming into its own command.
Automatic trimming hasn't graduated its experimental status: it still has several limitations and bugs, and hasn't been maintained pretty much since it was merged. Keeping automatic and exact trimming together ends up confusing users, and also makes the exact trimming unnecessarily slow and complex (2 passes over the trace where 1 pass would suffice.) I also hope one day to rewrite auto-trimming (autotrim-v2 branch.)
Diffstat (limited to 'gui')
-rw-r--r--gui/trimprocess.cpp2
-rw-r--r--gui/ui/mainwindow.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/trimprocess.cpp b/gui/trimprocess.cpp
index 34639c63..854ef88f 100644
--- a/gui/trimprocess.cpp
+++ b/gui/trimprocess.cpp
@@ -60,7 +60,7 @@ void TrimProcess::start()
QString callSetArgument = callSetFormat
.arg(m_trimIndex);
- arguments << QLatin1String("trim");
+ arguments << QLatin1String("trim-auto");
arguments << outputArgument;
arguments << callSetArgument;
arguments << m_tracePath;
diff --git a/gui/ui/mainwindow.ui b/gui/ui/mainwindow.ui
index af7eadc1..41a7d214 100644
--- a/gui/ui/mainwindow.ui
+++ b/gui/ui/mainwindow.ui
@@ -634,7 +634,7 @@
</action>
<action name="actionTrim">
<property name="text">
- <string>Tr&amp;im</string>
+ <string>Tr&amp;im (experimental)</string>
</property>
<property name="shortcut">
<string>Ctrl+I</string>