mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
remove something unused
This commit is contained in:
parent
ad54955e95
commit
8e96871acd
2 changed files with 0 additions and 4 deletions
|
@ -140,7 +140,6 @@ void DialogueWindow::startDialogue(MWWorld::Ptr actor, std::string npcName)
|
|||
setTitle(npcName);
|
||||
|
||||
topicsList->clear();
|
||||
pTopicsText.clear();
|
||||
history->eraseText(0,history->getTextLength());
|
||||
updateOptions();
|
||||
}
|
||||
|
@ -169,7 +168,6 @@ void DialogueWindow::removeKeyword(std::string keyWord)
|
|||
if(topicsList->hasItem(keyWord))
|
||||
{
|
||||
topicsList->removeItem(keyWord);
|
||||
pTopicsText.erase(keyWord);
|
||||
}
|
||||
topicsList->adjustSize();
|
||||
}
|
||||
|
@ -245,7 +243,6 @@ void DialogueWindow::updateOptions()
|
|||
{
|
||||
//Clear the list of topics
|
||||
topicsList->clear();
|
||||
pTopicsText.clear();
|
||||
history->eraseText(0,history->getTextLength());
|
||||
|
||||
pDispositionBar->setProgressRange(100);
|
||||
|
|
|
@ -77,7 +77,6 @@ namespace MWGui
|
|||
Widgets::MWList* topicsList;
|
||||
MyGUI::ProgressPtr pDispositionBar;
|
||||
MyGUI::EditPtr pDispositionText;
|
||||
std::map<std::string,std::string> pTopicsText;// this map links keyword and "real" text.
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue