From b8464b088d67b7e2eee7aeceb71088174eb1667c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 28 Oct 2009 01:17:40 +0100 Subject: Let Action Collection read settings --- src/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e6543e86..f079c8b9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -214,6 +214,7 @@ void MainWindow::postLaunch() // update toolbar actions signals connect(m_view, SIGNAL(tabsChanged()), this, SLOT(slotUpdateActions())); connect(m_view, SIGNAL(currentChanged(int)), this, SLOT(slotUpdateActions())); + // launch it manually. Just the first time... slotUpdateActions(); @@ -225,6 +226,9 @@ void MainWindow::postLaunch() // accept d'n'd setAcceptDrops(true); + + // KActionCollection read settings + m_ac->readSettings(); } -- cgit v1.2.1