comparison libgui/src/m-editor/file-editor-tab.cc @ 15355:a9fd6821eedf

GUI: recognize editor prefences for long title names; changed default value to false * file-editor-tab.cc (file-editor-tab::file-editor-tab): read long title bool from settings * settings-dialog.cc (settings-dialog::settings-dialog): change long title default to false
author Thorsten Liebig <Thorsten.Liebig@gmx.de>
date Tue, 11 Sep 2012 10:50:43 +0200
parents eefbbc1ed60e
children 842ab161c10a
comparison
equal deleted inserted replaced
15348:450fedd44176 15355:a9fd6821eedf
119 this, SLOT (handle_copy_available (bool))); 119 this, SLOT (handle_copy_available (bool)));
120 connect (&_file_system_watcher, SIGNAL (fileChanged (QString)), 120 connect (&_file_system_watcher, SIGNAL (fileChanged (QString)),
121 this, SLOT (file_has_changed (QString))); 121 this, SLOT (file_has_changed (QString)));
122 122
123 _file_name = ""; 123 _file_name = "";
124 _long_title = false; 124 _long_title = settings->value ("editor/longWindowTitle",false).toBool ();
125 update_window_title (false); 125 update_window_title (false);
126 } 126 }
127 127
128 bool 128 bool
129 file_editor_tab::copy_available () 129 file_editor_tab::copy_available ()