mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
eeb9b0f7da
* first try * implement hyperion restart. core function is good, but needs a beeter structuring- something for next refactoring session ;-) * several fixes (including osx) merge with upstream some refactoring * add some eye candy to webui
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();
|
|
}
|
|
|
|
|
|
}; |