Removed deprecated QCoreApplication::flush for Qt 6

This commit is contained in:
thunder2 2025-07-23 01:30:22 +02:00
parent c8c833b3d6
commit 96c02d94c3
2 changed files with 5 additions and 0 deletions

View file

@ -1131,7 +1131,10 @@ void SharedFilesDialog::postModDirectories(bool local)
#ifdef DEBUG_SHARED_FILES_DIALOG #ifdef DEBUG_SHARED_FILES_DIALOG
std::cerr << "****** updated directories! Re-enabling sorting ******" << std::endl; std::cerr << "****** updated directories! Re-enabling sorting ******" << std::endl;
#endif #endif
#if QT_VERSION < QT_VERSION_CHECK (6, 0, 0)
QCoreApplication::flush(); QCoreApplication::flush();
#endif
} }
class ChannelCompare class ChannelCompare

View file

@ -939,7 +939,9 @@ void MainWindow::postModDirectories(bool /*update_local*/)
{ {
//RSettingsPage::postModDirectories(update_local); //RSettingsPage::postModDirectories(update_local);
#if QT_VERSION < QT_VERSION_CHECK (6, 0, 0)
QCoreApplication::flush(); QCoreApplication::flush();
#endif
} }
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS