Commit 68e0cb40 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Try to fix ghost icons on Windows.

Related to #1295
parent f43d8512
......@@ -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);
......
......@@ -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
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment