1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-28 21:06:41 +00:00

remove something unused

This commit is contained in:
scrawl 2012-06-03 18:40:10 +02:00
parent ad54955e95
commit 8e96871acd
2 changed files with 0 additions and 4 deletions

View file

@ -140,7 +140,6 @@ void DialogueWindow::startDialogue(MWWorld::Ptr actor, std::string npcName)
setTitle(npcName); setTitle(npcName);
topicsList->clear(); topicsList->clear();
pTopicsText.clear();
history->eraseText(0,history->getTextLength()); history->eraseText(0,history->getTextLength());
updateOptions(); updateOptions();
} }
@ -169,7 +168,6 @@ void DialogueWindow::removeKeyword(std::string keyWord)
if(topicsList->hasItem(keyWord)) if(topicsList->hasItem(keyWord))
{ {
topicsList->removeItem(keyWord); topicsList->removeItem(keyWord);
pTopicsText.erase(keyWord);
} }
topicsList->adjustSize(); topicsList->adjustSize();
} }
@ -245,7 +243,6 @@ void DialogueWindow::updateOptions()
{ {
//Clear the list of topics //Clear the list of topics
topicsList->clear(); topicsList->clear();
pTopicsText.clear();
history->eraseText(0,history->getTextLength()); history->eraseText(0,history->getTextLength());
pDispositionBar->setProgressRange(100); pDispositionBar->setProgressRange(100);

View file

@ -77,7 +77,6 @@ namespace MWGui
Widgets::MWList* topicsList; Widgets::MWList* topicsList;
MyGUI::ProgressPtr pDispositionBar; MyGUI::ProgressPtr pDispositionBar;
MyGUI::EditPtr pDispositionText; MyGUI::EditPtr pDispositionText;
std::map<std::string,std::string> pTopicsText;// this map links keyword and "real" text.
}; };
} }
#endif #endif