Skip to content

Commit

Permalink
Replace Q_CORE_EXPORT with Q_AUTOTEST_EXPORT in qlocalfileapi_p.h
Browse files Browse the repository at this point in the history
The only consumer outside of gui is the autotest target

Change-Id: I2c6b41029ed5c53a2fd5f31f542128616620ddcf
Reviewed-by: Morten Johan Sørvig <[email protected]>
  • Loading branch information
mboc-qt committed Mar 20, 2023
1 parent 834617e commit 0cefeb2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/gui/platform/wasm/qlocalfileapi_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
QT_BEGIN_NAMESPACE

namespace LocalFileApi {
class Q_CORE_EXPORT Type {
class Q_AUTOTEST_EXPORT Type
{
public:
class Accept {
public:
Expand Down Expand Up @@ -80,8 +81,10 @@ class Q_CORE_EXPORT Type {
std::optional<Accept> m_accept;
};

Q_CORE_EXPORT emscripten::val makeOpenFileOptions(const QStringList &filterList, bool acceptMultiple);
Q_CORE_EXPORT emscripten::val makeSaveFileOptions(const QStringList &filterList, const std::string& suggestedName);
Q_AUTOTEST_EXPORT emscripten::val makeOpenFileOptions(const QStringList &filterList,
bool acceptMultiple);
Q_AUTOTEST_EXPORT emscripten::val makeSaveFileOptions(const QStringList &filterList,
const std::string &suggestedName);

Q_AUTOTEST_EXPORT std::string makeFileInputAccept(const QStringList &filterList);

Expand Down

0 comments on commit 0cefeb2

Please sign in to comment.