--- a/QTfrontend/SDLs.cpp Sat Aug 16 14:28:44 2008 +0000
+++ b/QTfrontend/SDLs.cpp Sat Aug 16 20:15:27 2008 +0000
@@ -34,7 +34,7 @@
SDLInteraction::~SDLInteraction()
{
-// SDL_Quit();
+ SDL_Quit();
}
QStringList SDLInteraction::getResolutions() const
--- a/QTfrontend/mapContainer.cpp Sat Aug 16 14:28:44 2008 +0000
+++ b/QTfrontend/mapContainer.cpp Sat Aug 16 20:15:27 2008 +0000
@@ -28,6 +28,7 @@
#include <QLabel>
#include <QListWidget>
#include <QVBoxLayout>
+#include <QIcon>
#include "hwconsts.h"
#include "mapContainer.h"
@@ -149,6 +150,7 @@
void HWMapContainer::themeSelected(int currentRow)
{
theme = Themes->at(currentRow);
+ gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon.png").arg(datadir->absolutePath()).arg(theme)));
emit themeChanged(theme);
}
--- a/share/hedgewars/Data/Themes/City/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/City/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -2,6 +2,7 @@
Border.png
Flake.png
horizont.png
+ icon.png
LandTex.png
plant1.png
plant2.png
Binary file share/hedgewars/Data/Themes/City/icon.png has changed
--- a/share/hedgewars/Data/Themes/EarthRise/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/EarthRise/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -3,6 +3,7 @@
Clouds.png
Flake.png
horizont.png
+ icon.png
LandTex.png
rock1.png
rock2.png
Binary file share/hedgewars/Data/Themes/EarthRise/icon.png has changed
--- a/share/hedgewars/Data/Themes/Island/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/Island/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -2,6 +2,7 @@
Border.png
Flake.png
horizont.png
+ icon.png
LandTex.png
plant1.png
plant2.png
Binary file share/hedgewars/Data/Themes/Island/icon.png has changed
--- a/share/hedgewars/Data/Themes/Sheep/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/Sheep/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -1,4 +1,5 @@
install(FILES
+ icon.png
mouton2.png
Border.png
mouton3.png
Binary file share/hedgewars/Data/Themes/Sheep/icon.png has changed
--- a/share/hedgewars/Data/Themes/Snow/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/Snow/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -2,6 +2,7 @@
Border.png
Flake.png
horizont.png
+ icon.png
LandTex.png
plant1.png
plant2.png
Binary file share/hedgewars/Data/Themes/Snow/icon.png has changed
--- a/share/hedgewars/Data/Themes/hell/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/hell/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -3,6 +3,7 @@
Clouds.png
Flake.png
horizont.png
+ icon.png
LandTex.png
plant1.png
plant2.png
Binary file share/hedgewars/Data/Themes/hell/icon.png has changed
--- a/share/hedgewars/Data/Themes/nature/CMakeLists.txt Sat Aug 16 14:28:44 2008 +0000
+++ b/share/hedgewars/Data/Themes/nature/CMakeLists.txt Sat Aug 16 20:15:27 2008 +0000
@@ -2,6 +2,7 @@
Border.png
Flake.png
horizont.png
+ icon.png
LandTex.png
plant1.png
plant2.png
Binary file share/hedgewars/Data/Themes/nature/icon.png has changed