Mercurial > minori
comparison include/core/session.h @ 195:975a3f0965e2
locale: only attempt loading locales after QApplication is init'd
also the general application stuff and anime list is separated in settings
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Thu, 07 Dec 2023 11:14:01 -0500 |
| parents | 6fdf0632c003 |
| children | 53211cb1e7f5 |
comparison
equal
deleted
inserted
replaced
| 194:8548dc425697 | 195:975a3f0965e2 |
|---|---|
| 14 int uptime() { return timer.elapsed(); } | 14 int uptime() { return timer.elapsed(); } |
| 15 | 15 |
| 16 Config config; | 16 Config config; |
| 17 | 17 |
| 18 private: | 18 private: |
| 19 uint32_t requests = 0; | 19 unsigned int requests = 0; |
| 20 QElapsedTimer timer; | 20 QElapsedTimer timer; |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 extern Session session; | 23 extern Session session; |
| 24 | 24 |
