Try to fix linux compilations problems (apparently on some systems

Screen is defined, which then interferes with out Screen class).
This commit is contained in:
hiker
2014-05-18 22:00:28 +10:00
parent f0e3ee8832
commit c9c3b289be
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ namespace GUIEngine
*
* \ingroup guiengine
*/
class Screen : public AbstractTopLevelContainer
class GUIEngine::Screen : public AbstractTopLevelContainer
{
private:
/** True if the race (if it is running) should be paused when this

View File

@@ -173,7 +173,7 @@ TrackInfoDialog::~TrackInfoDialog()
{
// Place focus back on selected track, in case the dialog was cancelled and we're back to
// the track selection screen after
Screen* curr_screen = GUIEngine::getCurrentScreen();
GUIEngine::Screen* curr_screen = GUIEngine::getCurrentScreen();
if (curr_screen->getName() == "tracks.stkgui")
{
((TracksScreen*)curr_screen)->setFocusOnTrack(m_ribbon_item);