Commit 65cd0438 authored by Nicolas Fella's avatar Nicolas Fella

Remove unused code

parent 6b1d215d
......@@ -35,37 +35,3 @@ function name(volume, muted, prefix) {
}
return icon;
}
function formFactorIcon(formFactor) {
switch(formFactor) {
case "internal":
return "audio-card";
case "speaker":
return "audio-speakers-symbolic";
case "phone":
return "phone";
case "handset":
return "phone";
case "tv":
return "video-television";
case "webcam":
return "camera-web";
case "microphone":
return "audio-input-microphone";
case "headset":
return "audio-headset";
case "headphone":
return "audio-headphones";
case "hands-free":
return "hands-free";
case "car":
return "car";
case "hifi":
return "hifi";
case "computer":
return "computer";
case "portable":
return "portable";
}
return "";
}
......@@ -25,7 +25,6 @@ import QtQuick.Layouts 1.0
import org.kde.kirigami 2.5 as Kirigami
import org.kde.plasma.private.volume 0.1
import "../code/icon.js" as Icon
ColumnLayout {
id: delegate
......
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