Merge CubeEffect::loadConfig with reconfigure

Only called from inside reconfigure and reconfigure does nothing else
than calling loadConfig.
This commit is contained in:
Martin Gräßlin 2012-11-21 14:42:21 +01:00
parent aac42d04db
commit 99411ce7b1
2 changed files with 0 additions and 6 deletions

View file

@ -119,11 +119,6 @@ bool CubeEffect::supported()
}
void CubeEffect::reconfigure(ReconfigureFlags)
{
loadConfig("Cube");
}
void CubeEffect::loadConfig(QString config)
{
CubeConfig::self()->readConfig();
foreach (ElectricBorder border, borderActivate) {

View file

@ -165,7 +165,6 @@ private:
void paintCylinderCap();
void paintSphereCap();
bool loadShader();
void loadConfig(QString config);
void rotateCube();
void rotateToDesktop(int desktop);
void setActive(bool active);