Skip to content

Commit

Permalink
fix: fix build error in v23
Browse files Browse the repository at this point in the history
Log:
  • Loading branch information
xzl01 authored and deepin-bot[bot] committed Sep 7, 2023
1 parent 8e6bee9 commit f66f34a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/grand-search-daemon/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <DApplication>

#include <QDebug>
#include <QDir>

#include <unistd.h>
#include <signal.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#define TailMaxWidth 150 // 拖尾信息最大显示宽度

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
using namespace GrandSearch;

GrandSearchListDelegate::GrandSearchListDelegate(QAbstractItemView *parent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

using namespace GrandSearch;
DCORE_USE_NAMESPACE
DGUI_USE_NAMESPACE
DWIDGET_USE_NAMESPACE

#define ICON_SIZE 24
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
using namespace GrandSearch;

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE

NameLabel::NameLabel(const QString &text, QWidget *parent, Qt::WindowFlags f):
QLabel(text, parent, f)
Expand Down
1 change: 1 addition & 0 deletions src/grand-search/gui/searchconfig/bestmatchwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <DGuiApplicationHelper>

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
using namespace GrandSearch;

BestMatchWidget::BestMatchWidget(QWidget *parent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DCORE_USE_NAMESPACE
#define InitCount 7 // 初始显示数量

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
using namespace GrandSearch;

BlackListView::BlackListView(QWidget *parent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define ICONLABELSIZE 36

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
using namespace GrandSearch;

SwitchWidget::SwitchWidget(const QString &title, QWidget *parent)
Expand Down
1 change: 1 addition & 0 deletions src/libgrand-search-daemon/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <QDBusConnection>
#include <QDBusError>
#include <QDebug>
#include <QThread>

GRANDSEARCH_USE_NAMESPACE
DCORE_USE_NAMESPACE
Expand Down
1 change: 1 addition & 0 deletions src/preview-plugin/audio-preview/audioview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define MARGIN_SIZE 15

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
GRANDSEARCH_USE_NAMESPACE
using namespace GrandSearch::audio_preview;

Expand Down

0 comments on commit f66f34a

Please sign in to comment.