Commit d38d34e1 authored by Jean-Baptiste Mardelle's avatar 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
......@@ -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);
......
......@@ -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
......
......@@ -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();
}
......
Markdown is supported
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