mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 02:04:45 +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;
|
QList<Application *> previews;
|
||||||
// we give a maximum of 4 icons
|
// 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]);
|
previews.push_back(m_applications[i]);
|
||||||
}
|
}
|
||||||
return previews;
|
return previews;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue