aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-02-10 11:03:57 +0100
committerEike Ziller <eike.ziller@qt.io>2022-02-10 10:30:35 +0000
commit8b143ac1485c9d901998ff0631c8e6e9e3b774a5 (patch)
treeeba3b716e7541b0c67babbbc73e58dc2ca3bd08b
parent7a389499c0e67ff9f359d36ec44635e8df296967 (diff)
Adapt to 3749cfc89621236046dd7cbe89bc375a62bc0685 Change-Id: Icd668a10bb47944f7de2485f540785678643e552 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/usagestatisticplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usagestatisticplugin.cpp b/src/usagestatisticplugin.cpp
index d2aa70b..98689eb 100644
--- a/src/usagestatisticplugin.cpp
+++ b/src/usagestatisticplugin.cpp
@@ -234,7 +234,7 @@ static ::Utils::InfoBarEntry makeInfoBarEntry()
};
::Utils::InfoBarEntry entry(Constants::ENC_MSG_INFOBAR_ENTRY_ID, infoText);
- entry.setCustomButtonInfo(customButtonInfoText, showUsageStatisticsSettingsCallback);
+ entry.addCustomButton(customButtonInfoText, showUsageStatisticsSettingsCallback);
entry.setCancelButtonInfo(cancelButtonInfoText, hideEncouragementMessageCallback);
return entry;