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:
hikerstk 2010-10-28 05:14:04 +00:00
parent 82214d0622
commit 4eb096528f
2 changed files with 2 additions and 7 deletions

View File

@ -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;

View File

@ -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
//-----------------------------------------------------------------------------