Skip to content

Commit

Permalink
fix: compile error (#185)
Browse files Browse the repository at this point in the history
Fix cimpile error: namespace error

Log: fix compile error
  • Loading branch information
pengfeixx authored Jul 10, 2024
1 parent c1bc108 commit e06fa7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/source/common/ddesktopservicesthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
#include "ddesktopservicesthread.h"

#include <DDesktopServices>
#include <dtkwidget_global.h>
#include <DGuiApplicationHelper>

DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
DDesktopServicesThread::DDesktopServicesThread(QObject *parent)
: QThread(parent)
{
Expand Down
3 changes: 0 additions & 3 deletions src/source/common/ddesktopservicesthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
#define DDESKTOPSERVICESTHREAD_H

#include <QThread>

#include <DDesktopServices>
#include <QDebug>
#include <QFileInfo>
DWIDGET_USE_NAMESPACE

// 文管打开文件目录线程
class DDesktopServicesThread : public QThread
Expand Down

0 comments on commit e06fa7e

Please sign in to comment.