diff -r fb20489acf39 -r 3fb8ad4d27b1 src/basics.h --- a/src/basics.h Thu May 10 15:54:26 2018 +0300 +++ b/src/basics.h Sat May 26 17:28:15 2018 +0300 @@ -100,3 +100,4 @@ QString superscript(int number); QString subscript(int number); QString fractionRep(int numerator, int denominator); +void withSignalsBlocked(QObject* object, std::function function);