mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
chore: remove std namespace
log: as title
This commit is contained in:
parent
e1a734e030
commit
068f35e405
@ -39,8 +39,6 @@ DUTIL_USE_NAMESPACE
|
||||
|
||||
const QString g_cfgPath = QStandardPaths::standardLocations(QStandardPaths::ConfigLocation)[0] + "/dde-cfg.ini";
|
||||
|
||||
using namespace std;
|
||||
|
||||
/**
|
||||
* @brief IsSaveMode
|
||||
* @return 判断当前是否应该进入安全模式(安全模式下不加载插件)
|
||||
|
@ -6,8 +6,6 @@
|
||||
#pragma once
|
||||
#include <memory>
|
||||
|
||||
using namespace std;
|
||||
|
||||
template <class T>
|
||||
class Singleton
|
||||
{
|
||||
|
@ -393,7 +393,7 @@ QRect MainWindowBase::getDockGeometry(QScreen *screen, const Dock::Position &pos
|
||||
return QRect();
|
||||
|
||||
// 对当前窗口前面的所有窗口按照order进行排序
|
||||
sort(lessOrderMainWindows.begin(), lessOrderMainWindows.end(), [](MainWindowBase const *window1, MainWindowBase const *window2) {
|
||||
std::sort(lessOrderMainWindows.begin(), lessOrderMainWindows.end(), [](MainWindowBase const *window1, MainWindowBase const *window2) {
|
||||
return window1->order() < window2->order();
|
||||
});
|
||||
QRect rect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user