diff --git a/app/src/handlers/systemhandler.cpp b/app/src/handlers/systemhandler.cpp
index dcc7b17fed498f0158b887b9be246e0771f647fe..b6351d4cd9470480604126a3878109ce462b5829 100644
--- a/app/src/handlers/systemhandler.cpp
+++ b/app/src/handlers/systemhandler.cpp
@@ -123,10 +123,10 @@ bool SystemHandler::applyFile(const QString &path, const QString &installType) c
             if (installType == "wallpapers") {
                 return applyGnomeWallpaper(path);
             }
-            else if (desktop == "icons") {
+            else if (installType == "icons") {
                 return applyGnomeIcon(path);
             }
-            else if (desktop == "cursors") {
+            else if (installType == "cursors") {
                 return applyGnomeCursor(path);
             }
         }