diff options
Diffstat (limited to 'src/preferences/dialog')
-rw-r--r-- | src/preferences/dialog/dlgprefwaveform.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/preferences/dialog/dlgprefwaveform.cpp b/src/preferences/dialog/dlgprefwaveform.cpp index 7b4a51065b..faf25c2fca 100644 --- a/src/preferences/dialog/dlgprefwaveform.cpp +++ b/src/preferences/dialog/dlgprefwaveform.cpp @@ -248,14 +248,6 @@ void DlgPrefWaveform::slotSetWaveformType(int index) { return; } WaveformWidgetFactory::instance()->setWidgetTypeFromHandle(index); -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && defined __WINDOWS__ - // This regenerates the waveforms twice because of a bug found on Windows - // where the first one fails. - // The problem is that the window of the widget thinks that it is not exposed. - // (https://doc.qt.io/qt-5/qwindow.html#exposeEvent ) - // TODO: Remove this when it has been fixed upstream. - WaveformWidgetFactory::instance()->setWidgetTypeFromHandle(index, true); -#endif } void DlgPrefWaveform::slotSetWaveformOverviewType(int index) { |