|
From: <cn...@us...> - 2019-10-31 04:03:25
|
Revision: 990
http://sourceforge.net/p/seq/svn/990
Author: cn187
Date: 2019-10-31 04:03:23 +0000 (Thu, 31 Oct 2019)
Log Message:
-----------
Move user directory creation to earlier in startup to avoid prefs file location issues
Modified Paths:
--------------
showeq/branches/pre_6_0_beta/src/interface.cpp
showeq/branches/pre_6_0_beta/src/main.cpp
Modified: showeq/branches/pre_6_0_beta/src/interface.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/interface.cpp 2019-10-31 02:00:47 UTC (rev 989)
+++ showeq/branches/pre_6_0_beta/src/interface.cpp 2019-10-31 04:03:23 UTC (rev 990)
@@ -251,10 +251,6 @@
for( int i = 1; i < 5; i++)
macstr[i] = "00:00:00:00:00:00";
-
- // setup the user directory
- m_dataLocationMgr->setupUserDirectory();
-
section = "Interface";
// Create the Spells object
Modified: showeq/branches/pre_6_0_beta/src/main.cpp
===================================================================
--- showeq/branches/pre_6_0_beta/src/main.cpp 2019-10-31 02:00:47 UTC (rev 989)
+++ showeq/branches/pre_6_0_beta/src/main.cpp 2019-10-31 04:03:23 UTC (rev 990)
@@ -211,6 +211,9 @@
// create the data location manager (with user data under ~/.showeq
DataLocationMgr dataLocMgr(".showeq");
+ // setup the user directory
+ dataLocMgr.setupUserDirectory();
+
/* Initialize the parameters with default values */
QFileInfo configFileDefInfo = dataLocMgr.findExistingFile(".", "seqdef.xml",
true, false);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|