Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
JuK
Commits
506c2ee6
Commit
506c2ee6
authored
Mar 28, 2021
by
Michael Pyne
Browse files
tageditor: Speedup startup when Tag Editor is shown.
parent
929ef9cb
Pipeline
#55843
failed with stage
in 10 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
playlistsplitter.cpp
View file @
506c2ee6
...
...
@@ -224,6 +224,14 @@ void PlaylistSplitter::setupLayout()
this
->
slotEnable
();
this
->
setFocus
();
// Do this after initial playlist setup otherwise we'll waste
// a lot of time starting up with the tag editor trying to
// re-update after every item is loaded.
connect
(
CollectionList
::
instance
(),
&
CollectionList
::
signalCollectionChanged
,
m_editor
,
&
TagEditor
::
slotUpdateCollection
);
emit
guiReady
();
});
...
...
@@ -262,9 +270,6 @@ void PlaylistSplitter::setupLayout()
topLayout
->
insertStretch
(
-
1
);
// Force search bar to top while playlistStack hides
topLayout
->
addWidget
(
m_playlistStack
,
1
);
// Now that GUI setup is complete, add some auto-update signals.
connect
(
CollectionList
::
instance
(),
&
CollectionList
::
signalCollectionChanged
,
m_editor
,
&
TagEditor
::
slotUpdateCollection
);
connect
(
m_playlistStack
,
&
QStackedWidget
::
currentChanged
,
this
,
&
PlaylistSplitter
::
slotPlaylistChanged
);
...
...
Michael Pyne
@mpyne
mentioned in commit
178aee3b
·
Mar 29, 2021
mentioned in commit
178aee3b
mentioned in commit 178aee3be59b4bfc8b4251b20df6f85d6183c545
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment