Show Configure KDevelop... dialog faster
There is an annoying 2-second delay before KDevelop settings dialog appears. This commit reduces the delay to about 1 second.
I have measured the time spent in UiController::showSettingsDialog()
-
from the beginning of the function until the last blocking statement
cfgDlg.exec()
- with QElapsedTimer
. This time is 300-400 ms longer when
the Configure KDevelop... dialog is first shown after KDevelop starts.
The following table compares these average times in milliseconds before
and at this commit:
before at
first shown 2070 930
non-first shown 1750 580