QTfrontend/hwform.cpp
changeset 6165 6fe3e922246e
parent 6160 863d3edf5690
child 6166 701c5b8fac56
--- a/QTfrontend/hwform.cpp	Fri Oct 21 04:11:26 2011 +0200
+++ b/QTfrontend/hwform.cpp	Fri Oct 21 07:00:49 2011 +0200
@@ -112,7 +112,7 @@
     //setFocusPolicy(Qt::StrongFocus);
     CustomizePalettes();
 
-    ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
+    ui.pageOptions->CBResolution->addItems(SDLInteraction::instance().getResolutions());
 
     config = new GameUIConfig(this, cfgdir->absolutePath() + "/hedgewars.ini");
 
@@ -1176,9 +1176,9 @@
 void HWForm::Music(bool checked)
 {
     if (checked)
-        sdli.StartMusic();
+        SDLInteraction::instance().startMusic();
     else
-        sdli.StopMusic();
+        SDLInteraction::instance().stopMusic();
 }
 
 void HWForm::NetGameChangeStatus(bool isMaster)