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
Kdenlive
Commits
d38d34e1
Commit
d38d34e1
authored
Feb 12, 2022
by
Jean-Baptiste Mardelle
Browse files
Try to fix ghost icons on Windows.
Related to
#1295
parent
7c74cde5
Pipeline
#136552
passed with stage
in 9 minutes and 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
d38d34e1
...
...
@@ -992,7 +992,6 @@ Bin::Bin(std::shared_ptr<ProjectItemModel> model, QWidget *parent, bool isMainBi
// Init icons
m_audioIcon
=
QImage
(
iconSize
,
iconSize
,
QImage
::
Format_ARGB32_Premultiplied
);
m_videoIcon
=
QImage
(
iconSize
,
iconSize
,
QImage
::
Format_ARGB32_Premultiplied
);
slotUpdatePalette
();
// Tags panel
m_tagsWidget
=
new
TagWidget
(
this
);
...
...
src/bin/bin.h
View file @
d38d34e1
...
...
@@ -402,7 +402,6 @@ private slots:
/** @brief Switch a tag on a clip list
*/
void
editTags
(
const
QList
<
QString
>
&
allClips
,
const
QString
&
tag
,
bool
add
);
void
slotUpdatePalette
();
/** @brief Update the string description of the clips count, like: 123 clips (3 selected). */
void
updateClipsCount
();
...
...
@@ -461,8 +460,10 @@ public slots:
bool
addProjectClipInFolder
(
const
QString
&
path
,
const
QString
&
parentFolder
,
const
QString
&
folderName
);
/** @brief Check if a clip profile matches project, propose switch otherwise */
void
slotCheckProfile
(
const
QString
&
binId
);
/** @brief A non seekable clip was added to project, propose transcoding */
/** @brief A non seekable clip was added to project, propose transcoding */
void
requestTranscoding
(
const
QString
&
url
,
const
QString
&
id
,
bool
checkProfile
,
const
QString
suffix
=
QString
());
/** @brief Build the project bin audio/video icons according to color theme */
void
slotUpdatePalette
();
protected:
/* This function is called whenever an item is selected to propagate signals
...
...
src/core.cpp
View file @
d38d34e1
...
...
@@ -235,6 +235,7 @@ void Core::initGUI(bool inSandbox, const QString &MltPath, const QUrl &Url, cons
}
QMetaObject
::
invokeMethod
(
pCore
->
projectManager
(),
"slotLoadOnOpen"
,
Qt
::
QueuedConnection
);
m_mainWindow
->
show
();
bin
->
slotUpdatePalette
();
emit
m_mainWindow
->
GUISetupDone
();
}
...
...
Davy Bartoloni
🍕
@bartoloni
·
Feb 13, 2022
fixed
😄
fixed :smile: 
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