00001 //============================================== 00002 // copyright : (C) 2003-2005 by Will Stokes 00003 //============================================== 00004 // This program is free software; you can redistribute it 00005 // and/or modify it under the terms of the GNU General 00006 // Public License as published by the Free Software 00007 // Foundation; either version 2 of the License, or 00008 // (at your option) any later version. 00009 //============================================== 00010 00011 //Systemwide include 00012 #include <qstring.h> 00013 00014 //Projectwide includes 00015 #include "miscSettings.h" 00016 #include "configuration.h" 00017 00018 //============================================== 00019 void MiscSettings::setDefaults(Configuration* config) 00020 { 00021 //true first time program is run, ensures "first run" 00022 //dialog is only brought up once and never again 00023 config->setBool( "misc", "firstRun", true ); 00024 00025 //warn users they are running a CVS build if they are 00026 config->setBool( "misc", "cvsWarn", true ); 00027 00028 //DPI below which users will be warned during cropping 00029 config->setInt( "misc", "minDPI", 250 ); 00030 } 00031 //==============================================