"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dialogs/preferences/ColorThemeEditDialog.cpp" between
cutter-1.10.2.tar.gz and cutter-1.10.3.tar.gz

About: cutter is a Qt and C++ GUI for radare2 reverse engineering framework.

ColorThemeEditDialog.cpp  (cutter-1.10.2):ColorThemeEditDialog.cpp  (cutter-1.10.3)
skipping to change at line 136 skipping to change at line 136
return; return;
} }
ColorOption currOption = currIndex.data(Qt::UserRole).value<ColorOption>(); ColorOption currOption = currIndex.data(Qt::UserRole).value<ColorOption>();
currOption.color = newColor; currOption.color = newColor;
currOption.changed = true; currOption.changed = true;
ui->colorThemeListView->model()->setData(currIndex, QVariant::fromValue(curr Option)); ui->colorThemeListView->model()->setData(currIndex, QVariant::fromValue(curr Option));
Config()->setColor(currOption.optionName, currOption.color); Config()->setColor(currOption.optionName, currOption.color);
if (!ColorThemeWorker::cutterSpecificOptions.contains(currOption.optionName) ) { if (!ColorThemeWorker::cutterSpecificOptions.contains(currOption.optionName) ) {
Core()->cmd(QString("ec %1 %2").arg(currOption.optionName).arg(currOptio n.color.name())); Core()->cmdRaw(QString("ec %1 %2").arg(currOption.optionName).arg(currOp tion.color.name()));
} }
previewDisasmWidget->colorsUpdatedSlot(); previewDisasmWidget->colorsUpdatedSlot();
} }
void ColorThemeEditDialog::editThemeChanged(const QString& newTheme) void ColorThemeEditDialog::editThemeChanged(const QString& newTheme)
{ {
if (themeWasEdited(colorTheme)) { if (themeWasEdited(colorTheme)) {
int ret = QMessageBox::question(this, int ret = QMessageBox::question(this,
tr("Unsaved changes"), tr("Unsaved changes"),
tr("Are you sure you want to exit without saving? " tr("Are you sure you want to exit without saving? "
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)