actually initialize the icons
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "ui/viewerwidget.h"
|
||||
#include "ui/sourceiconview.h"
|
||||
#include "ui/timelineheader.h"
|
||||
#include "ui/icons.h"
|
||||
#include "ui/cursors.h"
|
||||
#include "ui/focusfilter.h"
|
||||
|
||||
@@ -193,6 +194,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
first_show(true)
|
||||
{
|
||||
olive::icon::Initialize();
|
||||
init_custom_cursors();
|
||||
|
||||
open_debug_file();
|
||||
|
||||
@@ -46,6 +46,8 @@ QIcon olive::icon::CreateIconFromSVG(const QString &path)
|
||||
|
||||
void olive::icon::Initialize()
|
||||
{
|
||||
qInfo() << "Initializing icons";
|
||||
|
||||
LeftArrow = QIcon(":/icons/tri-left.svg");
|
||||
RightArrow = QIcon(":/icons/tri-right.svg");
|
||||
UpArrow = QIcon(":/icons/tri-up.svg");
|
||||
@@ -66,4 +68,6 @@ void olive::icon::Initialize()
|
||||
ViewerPause = QPixmap(":/icons/pause.svg");
|
||||
ViewerNextFrame = CreateIconFromSVG(QStringLiteral(":/icons/ff.svg"));
|
||||
ViewerGoToEnd = CreateIconFromSVG(QStringLiteral(":/icons/next.svg"));
|
||||
|
||||
qInfo() << "Finished initializing icons";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user