From 4e862414a16710a9637a976056e7f65de3513938 Mon Sep 17 00:00:00 2001 From: "S. Razi Alavizadeh" Date: Mon, 11 Mar 2013 17:03:59 +0100 Subject: [PATCH] [Windows] Small fix in theme + fixed shadow of desktop notification. --- bin/themes/windows/windows.css | 2 ++ src/lib/desktopnotifications/desktopnotification.cpp | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/themes/windows/windows.css b/bin/themes/windows/windows.css index fcba2d01a..39abf9576 100644 --- a/bin/themes/windows/windows.css +++ b/bin/themes/windows/windows.css @@ -18,6 +18,8 @@ #tabbar::tab { height: 26px; + padding-right: -1px; + padding-left: -1px; } #tabbar::tab:selected diff --git a/src/lib/desktopnotifications/desktopnotification.cpp b/src/lib/desktopnotifications/desktopnotification.cpp index 84d7ef101..588a59df9 100644 --- a/src/lib/desktopnotifications/desktopnotification.cpp +++ b/src/lib/desktopnotifications/desktopnotification.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2012 David Rosca +* Copyright (C) 2010-2013 David Rosca * * 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 @@ -31,9 +31,6 @@ DesktopNotification::DesktopNotification(bool setPosition) ui->setupUi(this); setAttribute(Qt::WA_DeleteOnClose); Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint; -#ifdef Q_OS_WIN - flags |= Qt::ToolTip; -#endif setWindowFlags(flags); setAttribute(Qt::WA_TranslucentBackground);