mac: remove cout outputs
This commit is contained in:
parent
4905b03372
commit
7a258d1a25
@ -2275,14 +2275,12 @@ void Options::load(bool lightweight)
|
|||||||
const gchar* homedir;
|
const gchar* homedir;
|
||||||
const gchar* configdir;
|
const gchar* configdir;
|
||||||
homedir = g_getenv("HOME"); // This returns the current container data dir in ~/Library
|
homedir = g_getenv("HOME"); // This returns the current container data dir in ~/Library
|
||||||
std::cout << "homedir=" << homedir << "\n";
|
|
||||||
configdir = "/../../../Application Support/RawTherapee/config"; // Back out of containers and into App. Support
|
configdir = "/../../../Application Support/RawTherapee/config"; // Back out of containers and into App. Support
|
||||||
int bufferSize = strlen(homedir) + strlen(configdir) + 1;
|
int bufferSize = strlen(homedir) + strlen(configdir) + 1;
|
||||||
gchar* concatString = new gchar[ bufferSize ];
|
gchar* concatString = new gchar[ bufferSize ];
|
||||||
strcpy( concatString, homedir );
|
strcpy( concatString, homedir );
|
||||||
strcat( concatString, configdir );
|
strcat( concatString, configdir );
|
||||||
path = concatString;
|
path = concatString;
|
||||||
std::cout << "config=" << path << "\n";
|
|
||||||
delete[] concatString;
|
delete[] concatString;
|
||||||
#else
|
#else
|
||||||
path = g_getenv("RT_SETTINGS");
|
path = g_getenv("RT_SETTINGS");
|
||||||
@ -2337,7 +2335,6 @@ void Options::load(bool lightweight)
|
|||||||
strcpy( concatString2, homedir );
|
strcpy( concatString2, homedir );
|
||||||
strcat( concatString2, cachedir );
|
strcat( concatString2, cachedir );
|
||||||
path = concatString2;
|
path = concatString2;
|
||||||
std::cout << "cache=" << path << "\n";
|
|
||||||
delete[] concatString2;
|
delete[] concatString2;
|
||||||
#else
|
#else
|
||||||
path = g_getenv("RT_CACHE");
|
path = g_getenv("RT_CACHE");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user