mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-30 00:11:33 +00:00
made Setting class non-abstract
This commit is contained in:
parent
73ffdd5ac5
commit
a907b4ab15
2 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,11 @@ CSMPrefs::Setting::Setting (Category *parent, Settings::Manager *values,
|
||||||
|
|
||||||
CSMPrefs::Setting:: ~Setting() {}
|
CSMPrefs::Setting:: ~Setting() {}
|
||||||
|
|
||||||
|
std::pair<QWidget *, QWidget *> CSMPrefs::Setting::makeWidgets (QWidget *parent)
|
||||||
|
{
|
||||||
|
return std::pair<QWidget *, QWidget *> (0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
const CSMPrefs::Category *CSMPrefs::Setting::getParent() const
|
const CSMPrefs::Category *CSMPrefs::Setting::getParent() const
|
||||||
{
|
{
|
||||||
return mParent;
|
return mParent;
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace CSMPrefs
|
||||||
///
|
///
|
||||||
/// \note first can be a 0-pointer, which means that the label is part of the input
|
/// \note first can be a 0-pointer, which means that the label is part of the input
|
||||||
/// widget.
|
/// widget.
|
||||||
virtual std::pair<QWidget *, QWidget *> makeWidgets (QWidget *parent) = 0;
|
virtual std::pair<QWidget *, QWidget *> makeWidgets (QWidget *parent);
|
||||||
|
|
||||||
const Category *getParent() const;
|
const Category *getParent() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue