Remove unused code

SVN_SILENT
icc-effect-5.14.5
Martin Gräßlin 2013-01-08 11:05:37 +01:00
parent a4ef906b14
commit ad65af23d7
1 changed files with 0 additions and 16 deletions

View File

@ -259,22 +259,6 @@ static QSize strToSize(const QString& str)
return QSize(reg.cap(1).toInt(), reg.cap(2).toInt());
}
//used for opacity settings
static QString intToStr(const int& s)
{
if (s < 1 || s > 100)
return QString();
return QString::number(s);
}
static int strToInt(const QString& str)
{
int tmp = str.toInt();
if (tmp < 1 || tmp > 100)
return 100;
return tmp;
}
int RulesWidget::desktopToCombo(int d) const
{
if (d >= 1 && d < desktop->count())