Add more null protection for skin management
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ SkinModel::SkinModel(QDir skinDir, QJsonObject obj)
|
||||
|
||||
QString SkinModel::name() const
|
||||
{
|
||||
return QFileInfo(m_path).baseName();
|
||||
return QFileInfo(m_path).completeBaseName();
|
||||
}
|
||||
|
||||
bool SkinModel::rename(QString newName)
|
||||
|
||||
Reference in New Issue
Block a user