Skip to content
Snippets Groups Projects
Commit dbac9ecf authored by Adriaan de Groot's avatar Adriaan de Groot
Browse files

[partition] Remove unused code

 - The name table is in PartitionActions::Choices
parent d2404851
No related branches found
No related tags found
No related merge requests found
...@@ -462,22 +462,6 @@ PartitionViewStep::onLeave() ...@@ -462,22 +462,6 @@ PartitionViewStep::onLeave()
} }
static PartitionActions::Choices::SwapChoice
nameToChoice( QString name, bool& ok )
{
using namespace PartitionActions::Choices;
static const NamedEnumTable<SwapChoice> names {
{ QStringLiteral( "none" ), SwapChoice::NoSwap },
{ QStringLiteral( "small" ), SwapChoice::SmallSwap },
{ QStringLiteral( "suspend" ), SwapChoice::FullSwap },
{ QStringLiteral( "reuse" ), SwapChoice::ReuseSwap },
{ QStringLiteral( "file" ), SwapChoice::SwapFile }
};
return names.find( name, ok );
}
void void
PartitionViewStep::setConfigurationMap( const QVariantMap& configurationMap ) PartitionViewStep::setConfigurationMap( const QVariantMap& configurationMap )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment