mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Make compile against qt6
This commit is contained in:
parent
cbcfa9fd7f
commit
afe595e08f
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ QList<Application *> ApplicationFolder::appPreviews()
|
|||
{
|
||||
QList<Application *> previews;
|
||||
// we give a maximum of 4 icons
|
||||
for (int i = 0; i < std::min(m_applications.length(), 4); ++i) {
|
||||
for (int i = 0; i < std::min<int>(m_applications.length(), 4); ++i) {
|
||||
previews.push_back(m_applications[i]);
|
||||
}
|
||||
return previews;
|
||||
|
|
|
|||
Loading…
Reference in a new issue