diff options
author | pommicket <pommicket@gmail.com> | 2025-08-24 14:30:15 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-24 14:30:15 -0400 |
commit | f62c0e5962a8f65fe72862d36ea7b581b74c1b13 (patch) | |
tree | 1d16b440c90d63485db96e7089a75c0b63deda18 /quacker/macondo.cpp | |
parent | a216bada3bec1b9ca0cda935f55210b7e94de4c7 (diff) |
Fix some warnings when compiling with QT6
Diffstat (limited to 'quacker/macondo.cpp')
-rw-r--r-- | quacker/macondo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/macondo.cpp b/quacker/macondo.cpp index aba5bca..8a5508d 100644 --- a/quacker/macondo.cpp +++ b/quacker/macondo.cpp @@ -143,7 +143,7 @@ void Macondo::setExecPath(const std::string &path) { void Macondo::chooseExecPath() { QString filter; - if (QOperatingSystemVersion::current().type() == QOperatingSystemVersion::Windows) { + if (QOperatingSystemVersion::currentType() == QOperatingSystemVersion::Windows) { filter = tr("Executable files (*.exe)"); } QString path = QFileDialog::getOpenFileName(this, tr("Select Macondo executable..."), QString(), filter); |