mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
14 lines
208 B
C++
14 lines
208 B
C++
|
#include <utils/FileUtils.h>
|
||
|
|
||
|
#include <QFileInfo>
|
||
|
|
||
|
namespace FileUtils {
|
||
|
|
||
|
std::string getBaseName( std::string sourceFile)
|
||
|
{
|
||
|
QFileInfo fi( sourceFile.c_str() );
|
||
|
return fi.fileName().toStdString();
|
||
|
}
|
||
|
|
||
|
|
||
|
};
|