From e6c5f7687260ea33a636f2e163c116a500c924e2 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 18 Feb 2023 13:58:46 +0100 Subject: [PATCH] FancyTabWidget: Remove extra namespace --- src/widgets/fancytabwidget.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/widgets/fancytabwidget.h b/src/widgets/fancytabwidget.h index b5d49e29a..ce76573eb 100644 --- a/src/widgets/fancytabwidget.h +++ b/src/widgets/fancytabwidget.h @@ -38,9 +38,6 @@ class QPaintEvent; class QProxyStyle; class TabData; -namespace Core { -namespace Internal { - class FancyTabWidget : public QTabWidget { Q_OBJECT @@ -86,7 +83,7 @@ class FancyTabWidget : public QTabWidget { public slots: void setCurrentIndex(int idx); - void SetMode(Core::Internal::FancyTabWidget::Mode mode); + void SetMode(FancyTabWidget::Mode mode); // Mapper mapped signal needs this convenience function void SetMode(int mode) { SetMode(Mode(mode)); } @@ -117,9 +114,4 @@ class FancyTabWidget : public QTabWidget { }; -} // namespace Internal -} // namespace Core - -using Core::Internal::FancyTabWidget; - #endif // FANCYTABWIDGET_H