Remove unused code
SVN_SILENT
This commit is contained in:
parent
a4ef906b14
commit
ad65af23d7
1 changed files with 0 additions and 16 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue