mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Const correctness, override keyword, a bunch of stuff..
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
|
||||
namespace FileUtils {
|
||||
|
||||
QString getBaseName(QString sourceFile)
|
||||
QString getBaseName(const QString& sourceFile)
|
||||
{
|
||||
QFileInfo fi(sourceFile);
|
||||
return fi.fileName();
|
||||
}
|
||||
|
||||
QString getDirName(QString sourceFile)
|
||||
QString getDirName(const QString& sourceFile)
|
||||
{
|
||||
QFileInfo fi(sourceFile);
|
||||
return fi.path();
|
||||
|
Reference in New Issue
Block a user