Add GetPath()

This commit is contained in:
WarmUpTill
2025-10-22 20:28:20 +02:00
committed by WarmUpTill
parent 84f7d0d214
commit b3bf89840b
2 changed files with 6 additions and 0 deletions

View File

@@ -35,6 +35,11 @@ void FileSelection::SetPath(const QString &path)
_filePath->setText(path);
}
QString FileSelection::GetPath() const
{
return _filePath->text();
}
QString FileSelection::ValidPathOrDesktop(const QString &path)
{
QFileInfo fileInfo(path);