Skip to content
Snippets Groups Projects
Commit 7f7a9ff3 authored by hjk's avatar hjk
Browse files

move Core::EditorManager::OpenEditorFlags operators into a suitable

namespace
parent c6419ff0
No related branches found
Tags v1.11
No related merge requests found
......@@ -244,10 +244,14 @@ private:
friend class Core::Internal::EditorView;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(EditorManager::OpenEditorFlags);
} // namespace Core
Q_DECLARE_OPERATORS_FOR_FLAGS(Core::EditorManager::OpenEditorFlags);
//===================EditorClosingCoreListener======================
namespace Core {
namespace Internal {
class EditorClosingCoreListener : public ICoreListener
......
......@@ -83,7 +83,7 @@ void OpenEditorsDelegate::paint(QPainter *painter, const QStyleOptionViewItem &o
option.rect.height(),
option.rect.height());
icon.paint(painter, iconRect, Qt::Alignment(Qt::AlignRight | Qt::AlignVCenter));
icon.paint(painter, iconRect, Qt::AlignRight | Qt::AlignVCenter);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment