mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
parent
8501275ee4
commit
b95a8be600
|
@ -30,7 +30,12 @@ LocationCompleterView::LocationCompleterView()
|
|||
{
|
||||
setAttribute(Qt::WA_ShowWithoutActivating);
|
||||
setAttribute(Qt::WA_X11NetWmWindowTypeCombo);
|
||||
setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::BypassWindowManagerHint);
|
||||
|
||||
if (qApp->platformName() == QLatin1String("wayland")) {
|
||||
setWindowFlags(Qt::Popup);
|
||||
} else {
|
||||
setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::BypassWindowManagerHint);
|
||||
}
|
||||
|
||||
setUniformItemSizes(true);
|
||||
setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
|
|
Loading…
Reference in New Issue
Block a user