Skip to content

Commit

Permalink
fix: border color issue
Browse files Browse the repository at this point in the history
adjust Inner border and outer border

Issue: linuxdeepin/developer-center#8342
  • Loading branch information
mhduiy committed Jun 19, 2024
1 parent 0aea656 commit 81d43a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dde-clipboard/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const QString AppearancePath = QStringLiteral("/org/deepin/dde/Appearance1");
const QString AppearanceInterface = QStringLiteral("org.deepin.dde.Appearance1");

MainWindow::MainWindow(QWidget *parent)
#ifdef DTKWIDGET_CLASS_DBlurEffectWithBorderWidget
: DBlurEffectWithBorderWidget(parent)
#else
: DBlurEffectWidget(parent)
#endif
, m_displayInter(new DBusDisplay("org.deepin.dde.Display1", "/org/deepin/dde/Display1", QDBusConnection::sessionBus(), this))
, m_daemonDockInter(new DBusDaemonDock("org.deepin.dde.daemon.Dock1", "/org/deepin/dde/daemon/Dock1", QDBusConnection::sessionBus(), this))
, m_dockInter(new DBusDockInterface)
Expand Down
8 changes: 8 additions & 0 deletions dde-clipboard/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
#include "listview.h"
#include "iconbutton.h"

#ifdef DTKWIDGET_CLASS_DBlurEffectWithBorderWidget
#include <DBlurEffectWithBorderWidget>
#else
#include <DBlurEffectWidget>
#endif
#include <DWindowManagerHelper>
#include <DRegionMonitor>
#include <DDBusInterface>
Expand All @@ -39,7 +43,11 @@ using DBusDaemonDock = org::deepin::dde::daemon::Dock1;
* \~chinese \class MainWindow
* \~chinese \brief 主窗口类
*/
#ifdef DTKWIDGET_CLASS_DBlurEffectWithBorderWidget
class MainWindow : public DBlurEffectWithBorderWidget
#else
class MainWindow : public DBlurEffectWidget
#endif
{
Q_OBJECT
Q_PROPERTY(int width READ getWidth WRITE setFixedWidth)
Expand Down

0 comments on commit 81d43a2

Please sign in to comment.