diff gui/src/SettingsDialog.cpp @ 13672:c9501268a194

filename with or without full path in tabs of the editor
author ttl <ttl@justmail.de>
date Tue, 13 Sep 2011 17:44:34 +0200
parents d98c6ef06dff
children c0e66d6e3dc8
line wrap: on
line diff
--- a/gui/src/SettingsDialog.cpp	Sat Sep 10 22:04:40 2011 +0200
+++ b/gui/src/SettingsDialog.cpp	Tue Sep 13 17:44:34 2011 +0200
@@ -21,6 +21,7 @@
   ui->editor_codeCompletion->setChecked (settings->value ("editor/codeCompletion",true).toBool () );
   ui->editor_fontName->setCurrentFont (QFont (settings->value ("editor/fontName","Courier").toString()) );
   ui->editor_fontSize->setValue (settings->value ("editor/fontSize",10).toInt ());
+  ui->editor_longWindowTitle->setChecked (settings->value ("editor/longWindowTitle",true).toBool ());
   ui->showFilenames->setChecked (settings->value ("showFilenames").toBool());
   ui->showFileSize->setChecked (settings->value ("showFileSize").toBool());
   ui->showFileType->setChecked (settings->value ("showFileType").toBool());
@@ -58,6 +59,7 @@
   settings->setValue ("editor/codeCompletion", ui->editor_codeCompletion->isChecked ());
   settings->setValue ("editor/fontName", ui->editor_fontName->currentFont().family());
   settings->setValue ("editor/fontSize", ui->editor_fontSize->value());
+  settings->setValue ("editor/longWindowTitle", ui->editor_longWindowTitle->isChecked());
   settings->setValue ("showFilenames", ui->showFilenames->isChecked ());
   settings->setValue ("showFileSize", ui->showFileSize->isChecked ());
   settings->setValue ("showFileType", ui->showFileType->isChecked ());