NOISSUE remove dead code

This commit is contained in:
Petr Mrázek 2017-03-27 08:30:02 +02:00
parent 5fabb4f254
commit 22735f275e

View File

@ -132,83 +132,3 @@ void ProfilePatch::setMovable (bool state)
{ {
m_isMovable = state; m_isMovable = state;
} }
/*
class MetaPatchProvider : public ProfilePatch
{
public:
MetaPatchProvider(std::shared_ptr<Meta::Version> data)
:m_version(data)
{
}
public:
QString getFilename() override
{
return QString();
}
QString getID() override
{
return m_version->uid();
}
QString getName() override
{
auto vfile = getFile();
if(vfile)
{
return vfile->name;
}
return m_version->name();
}
QDateTime getReleaseDateTime() override
{
return m_version->time();
}
QString getVersion() override
{
return m_version->version();
}
std::shared_ptr<class VersionFile> getVersionFile() override
{
return m_version->data();
}
void setOrder(int) override
{
}
int getOrder() override
{
return 0;
}
bool isVersionChangeable() override
{
return true;
}
bool isRevertible() override
{
return false;
}
bool isRemovable() override
{
return true;
}
bool isCustom() override
{
return false;
}
bool isCustomizable() override
{
return true;
}
bool isMoveable() override
{
return true;
}
private:
VersionFilePtr getFile()
{
}
private:
std::shared_ptr<Meta::Version> m_version;
};
*/