Commit 8f62273b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to hide ExpireNowButton

parent 64c1d63b
Pipeline #35451 passed with stage
in 50 minutes and 30 seconds
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.15.46")
set(PIM_VERSION "5.15.47")
project(mailcommon VERSION ${PIM_VERSION})
......
......@@ -101,6 +101,11 @@ CollectionExpiryWidget::~CollectionExpiryWidget()
{
}
void CollectionExpiryWidget::hideExpireNowButton()
{
expireNowPB->setVisible(false);
}
void CollectionExpiryWidget::slotChanged()
{
Q_EMIT configChanged();
......
......@@ -49,6 +49,7 @@ public:
void save(Akonadi::Collection &collection, bool saveSettings, bool expireNow);
void save(const CollectionExpirySettings &collectionExpirySettings, Akonadi::Collection &collection, bool saveSettings, bool expireNow);
Q_REQUIRED_RESULT CollectionExpirySettings settings() const;
void hideExpireNowButton();
Q_SIGNALS:
void saveAndExpireRequested();
void configChanged(bool changed = true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment