QtGui.framework/Headers/qitemdelegate.h:124:40: error: macro “check” passed 3 arguments, but takes just 1

Written by  on January 27, 2015

After adding some needed includes the following error can be shown by GCC:

But you did not intend to deal neither with ‘QItemDelegate’ nor ‘check’. So what is the reason?

Have a look at the erroneous file: does it use an include like

where someone was lazy as sh*t?
Replace this by the specialised includes. Recompile, fixed.

Some other workaround is the extensive use of

but I don’t really recommend this.

ps. ‘check’ is special. Did you try once to name your variable ‘string’?

Combine several images to a GIF-animation

Written by  on January 19, 2015
  • convert all JPG from the current directory to a looping GIF with 0.2 s delay and resize them to 600 px for the width:

  • GIF-animation was never easier! This is the result from combining 36 E6-photos (taken with a delay of roundabout 1 s).

stormy day

git commit –amend (or: work-around the issue with changing merge-commit-message a posteriori with SmartGit)

Written by  on January 18, 2015

SmartGit does not allow to modify auto-generated messages of merge-commits. If you follow a certain policy, then the auto-format does not fit to your style. So it has to be changed:

Left-click multiplier (or: ‘avoid carpal tunnel syndrome’)

Written by  on January 13, 2015

A small helper-script to prevent fatigue. The task itself could not be automated, but the amount of emitted clicks could be.
So here is a small AutoIt to trigger the needed clicks at the current mouse-position.
Some “exit the script”-sugar could be added, but I did not do.

Stitch two pictures together

Written by  on January 10, 2015

* install imagemagick

* note: + appends horizontally; vertically