From e476cbc0d26150d850983b758c1ef10596f05650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 31 Jul 2015 10:55:36 +0200 Subject: [PATCH] [effects/cube] Drop warnings if not with shader support We require shaders nowadays for the Cube effect. --- effects/cube/cube.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 6f6b3eb285..30173e62bb 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -1496,8 +1496,6 @@ void CubeEffect::toggleCylinder() useShaders = loadShader(); if (useShaders) toggle(Cylinder); - else - qCritical() << "Sorry shaders are not available - cannot activate Cylinder"; } void CubeEffect::toggleSphere() @@ -1507,8 +1505,6 @@ void CubeEffect::toggleSphere() useShaders = loadShader(); if (useShaders) toggle(Sphere); - else - qCritical() << "Sorry shaders are not available - cannot activate Sphere"; } void CubeEffect::toggle(CubeMode newMode)