@ -15,8 +15,7 @@
#include "TouchDisableInterface.h"
// Disabled at the moment, may cause issues
//#define X11_ENABLED
#define X11_ENABLED
#ifdef WIN32
#undef X11_ENABLED
@ -130,7 +130,7 @@ void Path::clearExtensions()
/**
* Return the Path as String
*/
string Path::str()
const string Path::str() const
{
return path;
}
@ -138,7 +138,7 @@ string Path::str()
const char* Path::c_str()
const char* Path::c_str() const
return path.c_str();
@ -78,12 +78,12 @@ public:
string str();
const string str() const;
const char* c_str();
const char* c_str() const;
* Get the parent path
@ -93,8 +93,10 @@ Path Util::getConfigSubfolder(Path subfolder)
if (g_mkdir_with_parents(p.c_str(), 0700))
string msg = FS(_F("Could not create folder: {1}") % p.str());
XojMsgBox::showErrorToUser(NULL, msg);
Util::execInUiThread([=]() {
});