aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;