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
68e0cb40
Commit
68e0cb40
authored
Feb 12, 2022
by
Jean-Baptiste Mardelle
Browse files
Try to fix ghost icons on Windows.
Related to
#1295
parent
f43d8512
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
68e0cb40
...
...
@@ -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 @
68e0cb40
...
...
@@ -398,7 +398,6 @@ private slots:
/** @brief Switch a tag on a clip list
*/
void
editTags
(
QList
<
QString
>
allClips
,
const
QString
&
tag
,
bool
add
);
void
slotUpdatePalette
();
public
slots
:
void
slotRemoveInvalidClip
(
const
QString
&
id
,
bool
replace
,
const
QString
&
errorMessage
);
...
...
@@ -453,6 +452,7 @@ public slots:
void
showTitleWidget
(
const
std
::
shared_ptr
<
ProjectClip
>
&
clip
);
/** @brief Add a clip in a specially named folder */
bool
addProjectClipInFolder
(
const
QString
&
path
,
const
QString
&
parentFolder
,
const
QString
&
folderName
);
void
slotUpdatePalette
();
protected:
/* This function is called whenever an item is selected to propagate signals
...
...
src/core.cpp
View file @
68e0cb40
...
...
@@ -233,6 +233,8 @@ void Core::initGUI(bool isAppImage, const QString &MltPath, const QUrl &Url, con
}
QMetaObject
::
invokeMethod
(
pCore
->
projectManager
(),
"slotLoadOnOpen"
,
Qt
::
QueuedConnection
);
m_mainWindow
->
show
();
bin
->
slotUpdatePalette
();
emit
m_mainWindow
->
GUISetupDone
();
}
void
Core
::
buildLumaThumbs
(
const
QStringList
&
values
)
...
...
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