From 4e3c479a0f279926e0bd9a359a0ee57b334e976e Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 8 Dec 2017 14:22:19 +0100 Subject: Replaced tinytoml with libconfig --- src/widgets/mainwindowmenubar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/mainwindowmenubar.h') diff --git a/src/widgets/mainwindowmenubar.h b/src/widgets/mainwindowmenubar.h index 43c786b..e5e5f38 100644 --- a/src/widgets/mainwindowmenubar.h +++ b/src/widgets/mainwindowmenubar.h @@ -22,22 +22,22 @@ #define MAINWINDOWMENUBAR_H #include +#include class MainWindow; +class Configuration; class MainWindowMenuBar : public QMenuBar { Q_OBJECT public: - explicit MainWindowMenuBar(MainWindow *parent = nullptr); + explicit MainWindowMenuBar(std::shared_ptr config, MainWindow *parent = nullptr); QAction *printAction(); private slots: - void handleLoadProfile(); + void handleLoadProfile(MainWindow *window); private: - MainWindow *m_parentWindow; - QAction *m_printAction; }; -- cgit v1.2.1