mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:40:05 +00:00
Preload font resources
This commit is contained in:
parent
6ff4718ef4
commit
28ea12cbfe
7 changed files with 53 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "main_window.hpp"
|
||||
#include <scwx/qt/main/main_window.hpp>
|
||||
#include <scwx/qt/manager/resource_manager.hpp>
|
||||
|
||||
#include <boost/log/expressions.hpp>
|
||||
#include <boost/log/trivial.hpp>
|
||||
|
|
@ -9,6 +10,8 @@ int main(int argc, char* argv[])
|
|||
boost::log::core::get()->set_filter(boost::log::trivial::severity >=
|
||||
boost::log::trivial::debug);
|
||||
|
||||
scwx::qt::manager::ResourceManager::PreLoad();
|
||||
|
||||
QApplication a(argc, argv);
|
||||
scwx::qt::main::MainWindow w;
|
||||
w.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue