mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kdecore: remove redundant KSettings destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c38afd7556
commit
1360960574
2 changed files with 1 additions and 7 deletions
|
@ -31,7 +31,7 @@ static const QSettings::Format defaultformat = QSettings::IniFormat;
|
|||
|
||||
static QString getSettingsPath(const QString &filename)
|
||||
{
|
||||
QFileInfo info(filename);
|
||||
const QFileInfo info(filename);
|
||||
if (info.isAbsolute()) {
|
||||
return filename;
|
||||
}
|
||||
|
@ -46,10 +46,6 @@ KSettings::KSettings(const QString& file, const OpenFlags mode)
|
|||
}
|
||||
}
|
||||
|
||||
KSettings::~KSettings()
|
||||
{
|
||||
}
|
||||
|
||||
void KSettings::addSource(const QString &source)
|
||||
{
|
||||
QSettings settings(source, defaultformat);
|
||||
|
|
|
@ -67,8 +67,6 @@ public:
|
|||
*/
|
||||
KSettings(const QString &file, const OpenFlags mode);
|
||||
|
||||
~KSettings();
|
||||
|
||||
/**
|
||||
* Adds configuration source to the merge stack.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue