comparison libgui/src/files-dock-widget.cc @ 16487:6a18d8b0f982

gui: fix notification of files-dock-widget when settings may have changed * files-dock-widget.cc(constructor): connect signal settings_changed to the slot notice_settings
author Torsten <ttl@justmail.de>
date Wed, 10 Apr 2013 06:59:55 +0200
parents 094bd3627ead
children 605d7f0ee0d8
comparison
equal deleted inserted replaced
16486:b1b8a963f095 16487:6a18d8b0f982
50 connect (this, SIGNAL (open_file (const QString&)), 50 connect (this, SIGNAL (open_file (const QString&)),
51 parent (), SLOT (open_file (const QString&))); 51 parent (), SLOT (open_file (const QString&)));
52 52
53 connect (this, SIGNAL (displayed_directory_changed (const QString&)), 53 connect (this, SIGNAL (displayed_directory_changed (const QString&)),
54 parent (), SLOT (set_current_working_directory (const QString&))); 54 parent (), SLOT (set_current_working_directory (const QString&)));
55
56 connect (parent (), SIGNAL (settings_changed (const QSettings *)),
57 this, SLOT (notice_settings (const QSettings *)));
58
55 59
56 // Create a toolbar 60 // Create a toolbar
57 _navigation_tool_bar = new QToolBar ("", container); 61 _navigation_tool_bar = new QToolBar ("", container);
58 _navigation_tool_bar->setAllowedAreas (Qt::TopToolBarArea); 62 _navigation_tool_bar->setAllowedAreas (Qt::TopToolBarArea);
59 _navigation_tool_bar->setMovable (false); 63 _navigation_tool_bar->setMovable (false);