1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[Windows] Small fix in theme + fixed shadow of desktop notification.

This commit is contained in:
S. Razi Alavizadeh 2013-03-11 17:03:59 +01:00 committed by nowrep
parent d29aff5330
commit 4e862414a1
2 changed files with 3 additions and 4 deletions

View File

@ -18,6 +18,8 @@
#tabbar::tab #tabbar::tab
{ {
height: 26px; height: 26px;
padding-right: -1px;
padding-left: -1px;
} }
#tabbar::tab:selected #tabbar::tab:selected

View File

@ -1,6 +1,6 @@
/* ============================================================ /* ============================================================
* QupZilla - WebKit based browser * QupZilla - WebKit based browser
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2013 David Rosca <nowrep@gmail.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -31,9 +31,6 @@ DesktopNotification::DesktopNotification(bool setPosition)
ui->setupUi(this); ui->setupUi(this);
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint; Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint;
#ifdef Q_OS_WIN
flags |= Qt::ToolTip;
#endif
setWindowFlags(flags); setWindowFlags(flags);
setAttribute(Qt::WA_TranslucentBackground); setAttribute(Qt::WA_TranslucentBackground);