~openmw/openmw/openmw-packaging2

« back to all changes in this revision

Viewing changes to apps/opencs/view/prefs/dialogue.cpp

  • Committer: Scott Howard
  • Date: 2016-09-15 20:56:29 UTC
  • Revision ID: showard@debian.org-20160915205629-3tvfxe47zrb41a91
Cron update. Git hash: 37278b5

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include "../../model/prefs/state.hpp"
12
12
 
13
13
#include "page.hpp"
 
14
#include "keybindingpage.hpp"
14
15
 
15
16
void CSVPrefs::Dialogue::buildCategorySelector (QSplitter *main)
16
17
{
52
53
CSVPrefs::PageBase *CSVPrefs::Dialogue::makePage (const std::string& key)
53
54
{
54
55
    // special case page code goes here
55
 
 
56
 
    return new Page (CSMPrefs::get()[key], mContent);
 
56
    if (key == "Key Bindings")
 
57
        return new KeyBindingPage(CSMPrefs::get()[key], mContent);
 
58
    else
 
59
        return new Page (CSMPrefs::get()[key], mContent);
57
60
}
58
61
 
59
62
CSVPrefs::Dialogue::Dialogue()