mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 11:32:21 +00:00
Compilation fix: Replace MakeAbsPath with makeAbsPath
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13656 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c981e04e67
commit
5b66bd5d4c
@ -37,7 +37,7 @@
|
|||||||
#ifdef USE_NATIVE_FILEDIALOG
|
#ifdef USE_NATIVE_FILEDIALOG
|
||||||
#include <qapplication.h>
|
#include <qapplication.h>
|
||||||
#include "support/filetools.h"
|
#include "support/filetools.h"
|
||||||
using lyx::support::MakeAbsPath;
|
using lyx::support::makeAbsPath;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using lyx::support::FileFilterList;
|
using lyx::support::FileFilterList;
|
||||||
@ -79,7 +79,7 @@ FileDialog::Result const FileDialog::save(string const & path,
|
|||||||
result.first = FileDialog::Chosen;
|
result.first = FileDialog::Chosen;
|
||||||
|
|
||||||
#ifdef USE_NATIVE_FILEDIALOG
|
#ifdef USE_NATIVE_FILEDIALOG
|
||||||
string const startsWith = MakeAbsPath(suggested, path);
|
string const startsWith = makeAbsPath(suggested, path);
|
||||||
result.second = fromqstr(
|
result.second = fromqstr(
|
||||||
Q3FileDialog::getSaveFileName(toqstr(startsWith),
|
Q3FileDialog::getSaveFileName(toqstr(startsWith),
|
||||||
toqstr(filters.as_string()),
|
toqstr(filters.as_string()),
|
||||||
@ -114,7 +114,7 @@ FileDialog::Result const FileDialog::open(string const & path,
|
|||||||
result.first = FileDialog::Chosen;
|
result.first = FileDialog::Chosen;
|
||||||
|
|
||||||
#ifdef USE_NATIVE_FILEDIALOG
|
#ifdef USE_NATIVE_FILEDIALOG
|
||||||
string const startsWith = MakeAbsPath(suggested, path);
|
string const startsWith = makeAbsPath(suggested, path);
|
||||||
result.second = fromqstr(
|
result.second = fromqstr(
|
||||||
Q3FileDialog::getOpenFileName(toqstr(startsWith),
|
Q3FileDialog::getOpenFileName(toqstr(startsWith),
|
||||||
toqstr(filters.as_string()),
|
toqstr(filters.as_string()),
|
||||||
@ -146,7 +146,7 @@ FileDialog::Result const FileDialog::opendir(string const & path,
|
|||||||
result.first = FileDialog::Chosen;
|
result.first = FileDialog::Chosen;
|
||||||
|
|
||||||
#ifdef USE_NATIVE_FILEDIALOG
|
#ifdef USE_NATIVE_FILEDIALOG
|
||||||
string const startsWith = MakeAbsPath(suggested, path);
|
string const startsWith = makeAbsPath(suggested, path);
|
||||||
result.second = fromqstr(
|
result.second = fromqstr(
|
||||||
Q3FileDialog::getExistingDirectory(toqstr(startsWith),
|
Q3FileDialog::getExistingDirectory(toqstr(startsWith),
|
||||||
qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget(),
|
qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget(),
|
||||||
|
Loading…
Reference in New Issue
Block a user