File leechcraft-gcc47.patch of Package leechcraft
diff --git a/src/util/sll/slotclosure.h b/src/util/sll/slotclosure.h
index 2c9bbfc..a85a8ce 100644
--- a/src/util/sll/slotclosure.h
+++ b/src/util/sll/slotclosure.h
@@ -63,7 +63,26 @@ namespace Util
, public FireDestrPolicy<SlotClosureBase>
{
public:
- using SlotClosureBase::SlotClosureBase;
+ SlotClosure (const std::function<void ()>& func, QObject *parent)
+ : SlotClosureBase { func, parent }
+ {
+ }
+
+ SlotClosure (const std::function<void ()>& func,
+ QObject *sender,
+ const char *signal,
+ QObject *parent)
+ : SlotClosureBase { func, sender, signal, parent }
+ {
+ }
+
+ SlotClosure (const std::function<void ()>& func,
+ QObject *sender,
+ const std::initializer_list<const char*>& signalsList,
+ QObject *parent)
+ : SlotClosureBase { func, sender, signalsList, parent }
+ {
+ }
public:
void run () override
{