From 3dc556a7374999d2308eeb62ceeb3c3a560c2af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Fri, 3 Feb 2017 12:06:42 +0200 Subject: [PATCH] Widgets|libappfw: Renamed a PopupWidget method --- doomsday/sdk/libappfw/include/de/widgets/popupwidget.h | 2 +- doomsday/sdk/libappfw/src/widgets/popupwidget.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doomsday/sdk/libappfw/include/de/widgets/popupwidget.h b/doomsday/sdk/libappfw/include/de/widgets/popupwidget.h index 547cd819f1..6a13e6330e 100644 --- a/doomsday/sdk/libappfw/include/de/widgets/popupwidget.h +++ b/doomsday/sdk/libappfw/include/de/widgets/popupwidget.h @@ -103,7 +103,7 @@ class LIBAPPFW_PUBLIC PopupWidget : public PanelWidget ColorTheme colorTheme() const; - void enableCloseButton(bool enable); + void setCloseButtonVisible(bool enable); /** * Returns the close button of the popup. diff --git a/doomsday/sdk/libappfw/src/widgets/popupwidget.cpp b/doomsday/sdk/libappfw/src/widgets/popupwidget.cpp index 72a7072c9b..09839bf8ca 100644 --- a/doomsday/sdk/libappfw/src/widgets/popupwidget.cpp +++ b/doomsday/sdk/libappfw/src/widgets/popupwidget.cpp @@ -326,7 +326,7 @@ GuiWidget::ColorTheme PopupWidget::colorTheme() const return d->colorTheme; } -void PopupWidget::enableCloseButton(bool enable) +void PopupWidget::setCloseButtonVisible(bool enable) { if (enable && !d->close) { @@ -351,7 +351,7 @@ void PopupWidget::enableCloseButton(bool enable) ButtonWidget &PopupWidget::closeButton() { - enableCloseButton(true); + setCloseButtonVisible(true); return *d->close; }