diff options
| author | TrickyLeifa <date.epoch@gmail.com> | 2024-05-22 22:10:29 +0200 |
|---|---|---|
| committer | TrickyLeifa <date.epoch@gmail.com> | 2024-05-22 22:10:29 +0200 |
| commit | 695d51dbfe858d877408de78b424c1af8fc30e3a (patch) | |
| tree | 8add1fce52295ff7acd19856d6cd19f1ce2b3928 /src/aoapplication.cpp | |
| parent | 137a2d3a04bb0381d1923b1a9530d1cdd9872e88 (diff) | |
Complete AOLayer reimplementation, ...
* Complete AOLayer reimplementation
* Reimplemented sliding as well.
Diffstat (limited to 'src/aoapplication.cpp')
| -rw-r--r-- | src/aoapplication.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp index a3ed6b95..f3260ed2 100644 --- a/src/aoapplication.cpp +++ b/src/aoapplication.cpp @@ -132,6 +132,20 @@ QString AOApplication::get_version_string() return QString::number(RELEASE) + "." + QString::number(MAJOR_VERSION) + "." + QString::number(MINOR_VERSION); } +QString AOApplication::find_image(QStringList p_list) +{ + QString image_path; + for (const QString &path : p_list) + { + if (file_exists(path)) + { + image_path = path; + break; + } + } + return image_path; +} + void AOApplication::server_disconnected() { if (is_courtroom_constructed()) |
