From fbef117fc8f738f0b9a7ab57db5cf3138743f7d5 Mon Sep 17 00:00:00 2001
From: Adriaan de Groot <groot@kde.org>
Date: Mon, 21 Jan 2019 07:52:23 -0500
Subject: [PATCH] [partition] Remove unused code

---
 src/modules/partition/gui/ChoicePage.cpp | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp
index 8ff028ac4..3c9895642 100644
--- a/src/modules/partition/gui/ChoicePage.cpp
+++ b/src/modules/partition/gui/ChoicePage.cpp
@@ -200,15 +200,6 @@ ChoicePage::init( PartitionCoreModule* core )
  *
  * No texts are set -- that happens later by the translator functions.
  */
-static inline QComboBox*
-createCombo( std::initializer_list< SwapChoice > l )
-{
-    QComboBox* box = new QComboBox;
-    for ( SwapChoice c : l )
-        box->addItem( QString(), c );
-    return box;
-}
-
 static inline QComboBox*
 createCombo( const QSet< SwapChoice >& s )
 {