mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Do not update Pseudocode on changes
This commit is contained in:
parent
7fd6867b12
commit
4b160e4496
@ -195,7 +195,7 @@ QJsonDocument CutterCore::cmdj(const QString &str)
|
||||
|
||||
if (jsonError.error != QJsonParseError::NoError)
|
||||
{
|
||||
eprintf("Failed to parse JSON: %s\n", jsonError.errorString().toLocal8Bit().constData());
|
||||
eprintf("Failed to parse JSON for command \"%s\": %s\n", str.toLocal8Bit().constData(), jsonError.errorString().toLocal8Bit().constData());
|
||||
eprintf("%s\n", resString.toLocal8Bit().constData());
|
||||
}
|
||||
|
||||
|
@ -22,14 +22,14 @@ PseudocodeWidget::PseudocodeWidget(QWidget *parent, Qt::WindowFlags flags) :
|
||||
connect(Config(), SIGNAL(fontsUpdated()), this, SLOT(fontsUpdated()));
|
||||
connect(Config(), SIGNAL(colorsUpdated()), this, SLOT(colorsUpdatedSlot()));
|
||||
|
||||
connect(Core(), SIGNAL(commentsChanged()), this, SLOT(refreshPseudocode()));
|
||||
connect(Core(), SIGNAL(flagsChanged()), this, SLOT(refreshPseudocode()));
|
||||
connect(Core(), SIGNAL(functionRenamed(QString, QString)), this, SLOT(refreshPseudocode()));
|
||||
connect(Core(), SIGNAL(varsChanged()), this, SLOT(refreshPseudocode()));
|
||||
connect(Core(), SIGNAL(asmOptionsChanged()), this, SLOT(refreshPseudocode()));
|
||||
connect(Core(), &CutterCore::instructionChanged, this, [this](/*RVA offset*/) {
|
||||
refreshPseudocode();
|
||||
});
|
||||
//connect(Core(), SIGNAL(commentsChanged()), this, SLOT(refreshPseudocode()));
|
||||
//connect(Core(), SIGNAL(flagsChanged()), this, SLOT(refreshPseudocode()));
|
||||
//connect(Core(), SIGNAL(functionRenamed(QString, QString)), this, SLOT(refreshPseudocode()));
|
||||
//connect(Core(), SIGNAL(varsChanged()), this, SLOT(refreshPseudocode()));
|
||||
//connect(Core(), SIGNAL(asmOptionsChanged()), this, SLOT(refreshPseudocode()));
|
||||
//connect(Core(), &CutterCore::instructionChanged, this, [this](/*RVA offset*/) {
|
||||
// refreshPseudocode();
|
||||
//});
|
||||
|
||||
|
||||
connect(Core(), SIGNAL(raisePrioritizedMemoryWidget(CutterCore::MemoryWidgetType)), this, SLOT(raisePrioritizedMemoryWidget(CutterCore::MemoryWidgetType)));
|
||||
|
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>DockWidget</string>
|
||||
<string>Pseudocode</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
|
Loading…
Reference in New Issue
Block a user