Remove qt resource images from libqtk.

This commit is contained in:
2025-03-22 11:33:56 -04:00
parent 310f337f57
commit c5e21bd731
9 changed files with 25 additions and 19 deletions

View File

@@ -62,7 +62,7 @@ MainWindow::MainWindow(QWidget * parent) : QMainWindow(parent)
ui_->menuView->addAction(ui_->qtk__TreeView->toggleViewAction());
// Set the window icon used for Qtk.
setWindowIcon(Qtk::getIcon());
setWindowIcon(getIcon());
}
MainWindow::~MainWindow()

View File

@@ -132,6 +132,11 @@ class MainWindow : public QMainWindow
*/
void setScene(Qtk::Scene * scene);
/**
* @return Default icon to use for Qtk desktop application.
*/
static QIcon getIcon() { return QIcon(":/icons/icon.png"); }
public slots:
/**
* Trigger a refresh for widgets related to a scene that has been updated.