- port to MinGw : hardcoded user home folder. This must be fixed in future for portability

git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@171 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2015-01-29 20:01:40 +00:00
parent 96aeaaaa50
commit 8a755682de
+3 -3
View File
@@ -8,7 +8,7 @@
==============================================================================
*/
#include <Shlobj.h>
#include <Knownfolders.h>
//#include <Knownfolders.h>
#include "../JuceLibraryCode/JuceHeader.h"
#include "MainComponent.h"
@@ -70,9 +70,9 @@ public:
DocumentWindow::allButtons)
{
PWSTR path;
SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path);
// SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path);
static String pathStr(path);
static String pathStr("C:\\Users\\jens");
setContentOwned (new MainComponent(pathStr), true);
centreWithSize (getWidth(), getHeight());