equal
deleted
inserted
replaced
26 #include <QTextStream> |
26 #include <QTextStream> |
27 #include <QApplication> |
27 #include <QApplication> |
28 #include <QLabel> |
28 #include <QLabel> |
29 #include <QListWidget> |
29 #include <QListWidget> |
30 #include <QVBoxLayout> |
30 #include <QVBoxLayout> |
|
31 #include <QIcon> |
31 |
32 |
32 #include "hwconsts.h" |
33 #include "hwconsts.h" |
33 #include "mapContainer.h" |
34 #include "mapContainer.h" |
34 #include "igbox.h" |
35 #include "igbox.h" |
35 |
36 |
147 } |
148 } |
148 |
149 |
149 void HWMapContainer::themeSelected(int currentRow) |
150 void HWMapContainer::themeSelected(int currentRow) |
150 { |
151 { |
151 theme = Themes->at(currentRow); |
152 theme = Themes->at(currentRow); |
|
153 gbThemes->setIcon(QIcon(QString("%1/Themes/%2/icon.png").arg(datadir->absolutePath()).arg(theme))); |
152 emit themeChanged(theme); |
154 emit themeChanged(theme); |
153 } |
155 } |
154 |
156 |
155 QString HWMapContainer::getCurrentSeed() const |
157 QString HWMapContainer::getCurrentSeed() const |
156 { |
158 { |