forked from qt-creator/qt-creator
TextEditor: De-noise ICodeStylePreferences setup a bit
Change-Id: I6c3fcbb6ef17c7ca5771326b1444f057cc150e3d Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -27,14 +27,12 @@
|
||||
|
||||
#include <QVariant>
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
static const char settingsSuffixKey[] = "TabPreferences";
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
SimpleCodeStylePreferences::SimpleCodeStylePreferences(QObject *parent)
|
||||
: ICodeStylePreferences(parent)
|
||||
{
|
||||
setSettingsSuffix("TabPreferences");
|
||||
}
|
||||
|
||||
|
||||
@@ -48,9 +46,4 @@ void SimpleCodeStylePreferences::setValue(const QVariant &value)
|
||||
Q_UNUSED(value)
|
||||
}
|
||||
|
||||
QString SimpleCodeStylePreferences::settingsSuffix() const
|
||||
{
|
||||
return QLatin1String(settingsSuffixKey);
|
||||
}
|
||||
|
||||
|
||||
} // TextEditor
|
||||
|
||||
Reference in New Issue
Block a user