Skip to content

Fix MSVC compiler warning #28158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/framework/global/internal/interactive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ void Interactive::showProgress(const std::string& title, Progress* progress)
provider()->openAsync(uri, params);
}

#ifdef Q_OS_LINUX
static UriQuery makeSelectFileQuery(int mode, const QString& title, const io::path_t& dir, const std::vector<std::string>& filter,
bool confirmOverwrite)
{
Expand All @@ -279,6 +280,8 @@ static UriQuery makeSelectFileQuery(int mode, const QString& title, const io::pa
return q;
}

#endif

io::path_t Interactive::selectOpeningFile(const QString& title, const io::path_t& dir, const std::vector<std::string>& filter)
{
#ifndef Q_OS_LINUX
Expand Down Expand Up @@ -319,7 +322,6 @@ io::path_t Interactive::selectSavingFile(const QString& title, const io::path_t&
}

return QUrl::fromUserInput(rv.val.toQString()).toLocalFile();

#endif
}

Expand Down
Loading