mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Adapt cutecash to r18842.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18845 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c6e43486f8
commit
18f663de25
@ -26,6 +26,7 @@ SET (libgnc_core_utils_SOURCES
|
||||
gnc-glib-utils.c
|
||||
gnc-main.c
|
||||
gnc-path.c
|
||||
gnc-uri-utils.c
|
||||
${SWIG_CORE_UTILS_C}
|
||||
)
|
||||
|
||||
@ -52,6 +53,7 @@ SET (libgnc_core_utils_HEADERS
|
||||
gnc-glib-utils.h
|
||||
gnc-main.h
|
||||
gnc-path.h
|
||||
gnc-uri-utils.h
|
||||
)
|
||||
|
||||
ADD_LIBRARY (core-utils
|
||||
|
@ -36,7 +36,7 @@ extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
#include "engine/gnc-hooks.h"
|
||||
#include "core-utils/gnc-filepath-utils.h"
|
||||
#include "core-utils/gnc-uri-utils.h"
|
||||
#include "engine/Account.h"
|
||||
#include "engine/TransLog.h"
|
||||
}
|
||||
@ -408,7 +408,7 @@ void MainWindow::loadFile(const QString &fileName)
|
||||
|
||||
if (!we_are_in_error)
|
||||
{
|
||||
char * logpath = xaccResolveFilePath(newfile);
|
||||
char * logpath = gnc_uri_get_path(newfile);
|
||||
PINFO ("logpath=%s", logpath ? logpath : "(null)");
|
||||
xaccLogSetBaseName (logpath);
|
||||
xaccLogDisable();
|
||||
|
Loading…
Reference in New Issue
Block a user