Commit 6c5f464a authored by Laurent Montel's avatar Laurent Montel 😁

Not necessary to store pointer

parent 29f02933
......@@ -89,7 +89,7 @@ void CollectionMaintenancePage::init(const Akonadi::Collection &col)
box->addRow(new QLabel(i18n("Unread messages:"), messagesGroup), mCollectionUnread);
topLayout->addWidget(messagesGroup);
indexingGroupBox = new QGroupBox(i18n("Indexing"), this);
QGroupBox *indexingGroupBox = new QGroupBox(i18n("Indexing"), this);
QVBoxLayout *indexingLayout = new QVBoxLayout(indexingGroupBox);
mIndexingEnabled = new QCheckBox(i18n("Enable Full Text Indexing"));
indexingLayout->addWidget(mIndexingEnabled);
......
......@@ -25,7 +25,6 @@
class QCheckBox;
class QLabel;
class QPushButton;
class QGroupBox;
namespace Akonadi
{
class CollectionStatistics;
......@@ -60,7 +59,7 @@ private:
QCheckBox *mIndexingEnabled;
QLabel *mLastIndexed;
QPushButton *mReindexCollection;
QGroupBox *indexingGroupBox;
QLabel *mIndexedInfo;
};
AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionMaintenancePageFactory, CollectionMaintenancePage)
......
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