Skip to content

Commit

Permalink
windows的默认资源路径也改到Resources下
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengle committed Nov 20, 2015
1 parent 7a49b0c commit 5305f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/platform/qt/glfw/CCFileUtilsQt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ bool CCFileUtilsQt::init()
QDir _resourceDir(_execDir);
#ifdef Q_OS_MAC
_resourceDir.cdUp();
_resourceDir.cd("Resources");
#endif
_resourceDir.cd("Resources");
QString _path = _resourceDir.absolutePath();
if (_path.endsWith("/", Qt::CaseInsensitive) == false) {
_path.append("/");
Expand Down

0 comments on commit 5305f3b

Please sign in to comment.