Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schuster <michael@schuster.ms>2019-09-27 05:54:04 +0300
committerMichael Schuster <michael@schuster.ms>2019-09-27 05:58:12 +0300
commit00db94a73c6da2ed343bc39a2205b3fea4a4ff65 (patch)
tree4f9b2d9b8a3645b7f3dbe652feb66c8d2c94dffe /src/gui/settingsdialog.cpp
parentf6b03f0186d8d727896a78a5c674ad87f95328de (diff)
Revert "Fix White Window issue on Windows after Qt 5.12.4 upgrade"
This reverts commit 8f616969ab482c72092cb7c037a91292a0f159e1. Turns out that with the upgrade to the new released Qt 5.12.5 the issue has been solved by the Qt developers, so this fix becomes obsolete. Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'src/gui/settingsdialog.cpp')
-rw-r--r--src/gui/settingsdialog.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp
index 841e8bbb2..e91b96853 100644
--- a/src/gui/settingsdialog.cpp
+++ b/src/gui/settingsdialog.cpp
@@ -168,23 +168,6 @@ void SettingsDialog::changeEvent(QEvent *e)
QDialog::changeEvent(e);
}
-// FIX - White Window issue on Windows after Qt 5.12.4 upgrade ///////////////////////////////
-#if (defined(Q_OS_WIN) && (QT_VERSION >= QT_VERSION_CHECK(5, 12, 4)))
-void SettingsDialog::showEvent(QShowEvent *e)
-{
- QDialog::showEvent(e);
-
- QTimer::singleShot(100, this, &SettingsDialog::timerShowEvent);
-}
-
-void SettingsDialog::timerShowEvent()
-{
- update();
- repaint();
-}
-#endif
-// FIX - White Window issue on Windows after Qt 5.12.4 upgrade ///////////////////////////////
-
void SettingsDialog::slotSwitchPage(QAction *action)
{
_ui->stack->setCurrentWidget(_actionGroupWidgets.value(action));