mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 17:13:58 -05:00
Removed deprecated QCoreApplication::flush for Qt 6
This commit is contained in:
parent
c8c833b3d6
commit
96c02d94c3
2 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue