Commit 53c2c0db authored by Martin Koller's avatar Martin Koller
Browse files

Remove obsolete, unused method

parent a3fec4b0
......@@ -379,18 +379,6 @@ kpColorCollection::saveAs(const QUrl &url, QWidget *parent) const
return true;
}
bool
kpColorCollection::saveKDE(QWidget *parent) const
{
const QString name = d->name;
QString filename = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)
+ "colors/" + name;
const bool ret = saveAs (QUrl::fromLocalFile (filename), parent);
// (d->name is wiped by saveAs()).
d->name = name;
return ret;
}
QString kpColorCollection::description() const
{
return d->desc;
......
......@@ -114,16 +114,6 @@ public:
// Added for KolourPaint.
bool saveAs(const QUrl &url, QWidget *parent) const;
/**
* Save the collection to the KDE-local store
* (usually $HOME/.kde/share/config/colors) using name().
*
* @return 'true' if successful
*
* Renamed from save() for KolourPaint.
**/
bool saveKDE(QWidget *parent) const;
/**
* Get the description of the collection.
* @return the description of the collection.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment