comparison libgui/src/resource-manager.cc @ 15367:501a9cc2c68f

maint: whitespace cleanup in GUI code
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 12 Sep 2012 16:34:39 -0400
parents fd27e10b9b05
children 77795b0ed263
comparison
equal deleted inserted replaced
15366:d4e3f29aa499 15367:501a9cc2c68f
112 home_path = desktopServices.storageLocation (QDesktopServices::HomeLocation); 112 home_path = desktopServices.storageLocation (QDesktopServices::HomeLocation);
113 QString settings_path = home_path + "/.config/octave/"; 113 QString settings_path = home_path + "/.config/octave/";
114 QString settings_file = settings_path + "qt-settings"; 114 QString settings_file = settings_path + "qt-settings";
115 115
116 if (!QFile::exists (settings_file)) 116 if (!QFile::exists (settings_file))
117 { 117 {
118 QDir("/").mkpath (settings_path); 118 QDir("/").mkpath (settings_path);
119 QFile::copy (QString::fromStdString (default_qt_settings_file ()), 119 QFile::copy (QString::fromStdString (default_qt_settings_file ()),
120 settings_file); 120 settings_file);
121 first_run = true; 121 first_run = true;
122 } 122 }
123 else 123 else
124 first_run = false; 124 first_run = false;
125 125
126 do_set_settings (settings_file); 126 do_set_settings (settings_file);
127 } 127 }
128 128
129 void 129 void