Removed code that was commented out.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
82214d0622
commit
4eb096528f
@ -50,16 +50,12 @@ GUIEngine::EventPropagation ConfirmDialog::processEvent(const std::string& event
|
|||||||
|
|
||||||
if (eventSource == "cancel")
|
if (eventSource == "cancel")
|
||||||
{
|
{
|
||||||
//ModalDialog::dismiss();
|
|
||||||
|
|
||||||
m_listener->onCancel();
|
m_listener->onCancel();
|
||||||
|
|
||||||
return GUIEngine::EVENT_BLOCK;
|
return GUIEngine::EVENT_BLOCK;
|
||||||
}
|
}
|
||||||
else if (eventSource == "confirm")
|
else if (eventSource == "confirm")
|
||||||
{
|
{
|
||||||
//ModalDialog::dismiss();
|
|
||||||
|
|
||||||
m_listener->onConfirm();
|
m_listener->onConfirm();
|
||||||
|
|
||||||
return GUIEngine::EVENT_BLOCK;
|
return GUIEngine::EVENT_BLOCK;
|
||||||
|
@ -76,7 +76,6 @@ Track* TrackManager::getTrack(const std::string& ident) const
|
|||||||
std::cerr << msg.str() << std::endl;
|
std::cerr << msg.str() << std::endl;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
//throw std::runtime_error(msg.str());
|
|
||||||
} // getTrack
|
} // getTrack
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user