Commit 720ff532 authored by Julius Künzel's avatar Julius Künzel
Browse files

GIT_SILENT Fix build after last commit

parent 86a9afe1
Pipeline #119227 passed with stage
in 5 minutes and 2 seconds
......@@ -24,7 +24,7 @@ public:
public slots:
/** @brief Correctly hide/show dock widget title bars depending on position (floating, tabbed, docked) */
void updateTitleBars();
void slotUpdateTitleBars(bool isTopLevel = true);
private:
QAction *m_switchAction;
......@@ -37,7 +37,6 @@ private slots:
void slotShowTitleBars(bool show);
/** @brief Toggles the the global visible state of the DockWidget title bars */
void slotSwitchTitleBars();
void slotUpdateTitleBars(bool isTopLevel = true);
};
#endif
......@@ -497,7 +497,7 @@ void MainWindow::init(const QString &mltPath)
auto *scmanager = new ScopeManager(this);
auto *titleBars = new DockTitleBarManager(this);
connect(layoutManager, &LayoutManagement::updateTitleBars, titleBars, &DockTitleBarManager::updateTitleBars);
connect(layoutManager, &LayoutManagement::updateTitleBars, titleBars, [&] () { titleBars->slotUpdateTitleBars(); });
m_extraFactory = new KXMLGUIClient(this);
buildDynamicActions();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment