diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-05-24 04:54:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-24 04:54:48 +0200 |
| commit | 4c56a25463d15cf12e21fe512a598bee91b3363d (patch) | |
| tree | b0478364cd4d267c97334164aa876b41c1a841f9 /src/aoapplication.cpp | |
| parent | 4b0f7e4d806c79313e493a3c58818e995af25847 (diff) | |
| parent | eb024cb93131cddba8ec1a6094abde8bf1f4eaf3 (diff) | |
Merge pull request #966 from AttorneyOnline/coolslide-rebased
[Feature] Courtroom slides + major AOLayer overhaul
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()) |
