src: switched to use only wstring for FilePath::filename and FilePath::extension
This commit is contained in:
@@ -28,7 +28,7 @@ bool QtApplication::event(QEvent *event)
|
||||
|
||||
FilePath path(fileEvent->file().toStdWString());
|
||||
|
||||
if (path.exists() && (path.extension() == ".srctrlprj" || path.extension() == ".coatiproject"))
|
||||
if (path.exists() && (path.extension() == L".srctrlprj" || path.extension() == L".coatiproject"))
|
||||
{
|
||||
MessageLoadProject(path).dispatch();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user