mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 02:15:32 +00:00
Codegen fixes, DPI scaling, SVG icons
This commit is contained in:
@@ -96,7 +96,7 @@ void CExportGameDialog::InitUI(QString ExportDir)
|
||||
const nod::Node *pkDiscRoot = &pPartition->getFSTRoot();
|
||||
RecursiveAddToTree(pkDiscRoot, pTreeRoot);
|
||||
|
||||
pTreeRoot->setIcon(0, QIcon(":/icons/Disc_16px.png"));
|
||||
pTreeRoot->setIcon(0, QIcon(":/icons/Disc_16px.svg"));
|
||||
pTreeRoot->setExpanded(true);
|
||||
|
||||
// Signals and slots
|
||||
@@ -346,8 +346,8 @@ void CExportGameDialog::RecursiveAddToTree(const nod::Node *pkNode, QTreeWidgetI
|
||||
});
|
||||
|
||||
// Add nodes to tree
|
||||
static const QIcon skFileIcon = QIcon(":/icons/New_16px.png");
|
||||
static const QIcon skDirIcon = QIcon(":/icons/Open_16px.png");
|
||||
static const QIcon skFileIcon = QIcon(":/icons/New_16px.svg");
|
||||
static const QIcon skDirIcon = QIcon(":/icons/Open_16px.svg");
|
||||
|
||||
for (auto Iter = NodeList.begin(); Iter != NodeList.end(); Iter++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user