InfoBar: Fix inconsistent copy ctor/operator=

Detected by GCC9.

Change-Id: I527d6e4a306077b7cf77ec61222babe803e6b0da
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2019-05-06 23:59:01 +03:00
committed by Orgad Shaneh
parent ae02967f35
commit 593d754cd5

View File

@@ -55,7 +55,6 @@ public:
};
InfoBarEntry(Id _id, const QString &_infoText, GlobalSuppressionMode _globalSuppression = GlobalSuppressionDisabled);
InfoBarEntry(const InfoBarEntry &other) { *this = other; }
using CallBack = std::function<void()>;
void setCustomButtonInfo(const QString &_buttonText, CallBack callBack);