WelcomeMode: Remove screenDependHeightDistance()

That function always returns 16.

Change-Id: I65cb0c62c5e553791f25e964de9eaf23a0f65687
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2017-03-24 15:07:49 +01:00
parent 5f28650c23
commit 3729500740
4 changed files with 7 additions and 18 deletions

View File

@@ -49,11 +49,6 @@ IWelcomePage::~IWelcomePage()
{
}
int IWelcomePage::screenDependHeightDistance()
{
return std::min(50, std::max(16, ICore::mainWindow()->height() / 30));
}
static QPalette buttonPalette(bool isActive, bool isCursorInside, bool forText)
{
QPalette pal;