forked from qt-creator/qt-creator
Remove unused method.
This commit is contained in:
@@ -49,12 +49,6 @@
|
||||
\enum Command::CommandAttribute
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn void Command::setCategory(const QString &name)
|
||||
|
||||
Sets the category to \a name.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn virtual void Command::setDefaultKeySequence(const QKeySequence &key)
|
||||
*/
|
||||
@@ -118,18 +112,6 @@ int CommandPrivate::stateFlags() const
|
||||
return (m_type & CS_Mask);
|
||||
}
|
||||
|
||||
void CommandPrivate::setCategory(const QString &name)
|
||||
{
|
||||
m_category = name;
|
||||
}
|
||||
|
||||
QString CommandPrivate::category() const
|
||||
{
|
||||
if (m_category.isEmpty())
|
||||
return tr("Other");
|
||||
return m_category;
|
||||
}
|
||||
|
||||
void CommandPrivate::setDefaultKeySequence(const QKeySequence &key)
|
||||
{
|
||||
m_defaultKey = key;
|
||||
|
||||
Reference in New Issue
Block a user