Skip to content

Instantly share code, notes, and snippets.

View midluk's full-sized avatar

Lukas Middendorf midluk

  • Germany
View GitHub Profile
@midluk
midluk / delete_profile_icon.patch
Last active August 29, 2015 14:27
patch to add clear profile button to file browser thumbnail in rawtherapee
diff --git a/rtgui/filebrowser.cc b/rtgui/filebrowser.cc
index 294c074..5aca93f 100644
--- a/rtgui/filebrowser.cc
+++ b/rtgui/filebrowser.cc
@@ -524,6 +524,7 @@ void FileBrowser::addEntry_ (FileBrowserEntry* entry)
entry->getThumbButtonSet()->setRank (entry->thumbnail->getRank());
entry->getThumbButtonSet()->setColorLabel (entry->thumbnail->getColorLabel());
entry->getThumbButtonSet()->setInTrash (entry->thumbnail->getStage() == 1);
+ entry->getThumbButtonSet()->setHasProcParams (entry->thumbnail->hasProcParams());
entry->getThumbButtonSet()->setButtonListener (this);
//compile with msp430-gcc -mmcu=cc430x6137 -D__MSP430_6137__ -DMRFI_CC430 -D__CC430F6137__ -Os -Wall -v -c bug.c -o bug.o
//gives internal compiler error
void function1(short* data, short** mod_addr, short mod_count, short* leave_erased_stop)
{
short i;
short next_mod;
short* segment_last=0;