Commit a51fcc52 authored by Allen Winter's avatar Allen Winter
Browse files

src/akonadicollectionview.cpp - remove dead code

dead code that became useless once the disable folder
colors menu item was removed.
parent 5390a590
......@@ -722,11 +722,8 @@ void AkonadiCollectionView::updateMenu()
const Akonadi::Collection collection = CalendarSupport::collectionFromIndex(index);
if (collection.isValid() && !collection.contentMimeTypes().isEmpty()) {
const QColor defaultColor = KOHelper::resourceColor(collection);
enableAction = enableAction && defaultColor.isValid();
if (collection.remoteId() == QLatin1String("akonadi_birthdays_resource")) {
enableAction = false;
mAssignColor->setEnabled(enableAction);
mAssignColor->setEnabled(false);
}
mDefaultCalendar->setEnabled(
......
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