mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Set maximumHeight of websearchbar for Windows + update default position
of QupZilla on screen from 0,0 to 20,20 This fixed bug on Windows, where window title of mainwindow wasn't visible
This commit is contained in:
parent
d0342e87ad
commit
c23f3f8b5d
@ -170,7 +170,7 @@ void QupZilla::setupUi()
|
||||
resize(800, 550);
|
||||
setWindowState(Qt::WindowMaximized);
|
||||
} else {
|
||||
setGeometry(settings.value("WindowGeometry", QRect(0, 0, 800, 550)).toRect());
|
||||
setGeometry(settings.value("WindowGeometry", QRect(20, 20, 800, 550)).toRect());
|
||||
}
|
||||
|
||||
QWidget* widget = new QWidget(this);
|
||||
|
@ -42,6 +42,10 @@ WebSearchBar::WebSearchBar(QupZilla* mainClass, QWidget* parent)
|
||||
|
||||
setWidgetSpacing(0);
|
||||
setupSearchTypes();
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
setMaximumWidth(350);
|
||||
#endif
|
||||
}
|
||||
|
||||
void WebSearchBar::setupSearchTypes()
|
||||
|
Loading…
Reference in New Issue
Block a user