diff options
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index db9aca2..8f9b9a7 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc | |||
@@ -168,14 +168,14 @@ private: | |||
168 | class MenuContext: public LayerObject { | 168 | class MenuContext: public LayerObject { |
169 | public: | 169 | public: |
170 | void moveToLayer(int layer_number) { | 170 | void moveToLayer(int layer_number) { |
171 | if (WindowCmd<void>::window() == 0) | 171 | if (FbMenu::window() == 0) |
172 | return; | 172 | return; |
173 | WindowCmd<void>::window()->moveToLayer(layer_number); | 173 | FbMenu::window()->moveToLayer(layer_number); |
174 | } | 174 | } |
175 | int layerNumber() const { | 175 | int layerNumber() const { |
176 | if (WindowCmd<void>::window() == 0) | 176 | if (FbMenu::window() == 0) |
177 | return -1; | 177 | return -1; |
178 | return WindowCmd<void>::window()->layerItem().getLayerNum(); | 178 | return FbMenu::window()->layerItem().getLayerNum(); |
179 | } | 179 | } |
180 | 180 | ||
181 | }; | 181 | }; |