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
@ -49,17 +49,13 @@ GUIEngine::EventPropagation ConfirmDialog::processEvent(const std::string& event
|
||||
{
|
||||
|
||||
if (eventSource == "cancel")
|
||||
{
|
||||
//ModalDialog::dismiss();
|
||||
|
||||
{
|
||||
m_listener->onCancel();
|
||||
|
||||
return GUIEngine::EVENT_BLOCK;
|
||||
}
|
||||
else if (eventSource == "confirm")
|
||||
{
|
||||
//ModalDialog::dismiss();
|
||||
|
||||
{
|
||||
m_listener->onConfirm();
|
||||
|
||||
return GUIEngine::EVENT_BLOCK;
|
||||
|
@ -76,7 +76,6 @@ Track* TrackManager::getTrack(const std::string& ident) const
|
||||
std::cerr << msg.str() << std::endl;
|
||||
return NULL;
|
||||
|
||||
//throw std::runtime_error(msg.str());
|
||||
} // getTrack
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user