QTfrontend/mapContainer.cpp
changeset 1224 0b9fbee5ceda
parent 1215 0c1c294c0f7e
child 1228 8fa4a7055aff
--- 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);
 }