From 9e2e6d962e1e2d3e5c17641d9a9b21a5906bd262 Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 23 Feb 2005 17:35:32 +0000 Subject: Disable full backup option for Opie 1.2, since it might not work correctly due to memory constraints --- diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 180980a..5a4e284 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp @@ -1,26 +1,26 @@ /* -                This file is part of the Opie Project + This file is part of the Opie Project =. -             .=l. Copyright (c) 2002-2004 The Opie Team -           .>+-= - _;:,     .>    :=|. This file is free software; you can -.> <`_,   >  .   <= redistribute it and/or modify it under -:`=1 )Y*s>-.--   : the terms of the GNU General Public -.="- .-=="i,     .._ License as published by the Free Software - - .   .-<_>     .<> Foundation; either version 2 of the License, -     ._= =}       : or (at your option) any later version. -    .%`+i>       _;_. -    .i_,=:_.      -`: PARTICULAR PURPOSE. See the GNU General -..}^=.=       =       ; Public License for more details. -++=   -.     .`     .: - :     =  ...= . :.=- You should have received a copy of the GNU - -.   .:....=;==+<; General Public License along with this file; -  -_. . .   )=.  = see the file COPYING. If not, write to the -    --        :-=` Free Software Foundation, Inc., + .=l. Copyright (c) 2002-2004 The Opie Team + .>+-= +_;:, .> :=|. This file is free software; you can +.> <`_, > . <= redistribute it and/or modify it under +:`=1 )Y*s>-.-- : the terms of the GNU General Public +.="- .-=="i, .._ License as published by the Free Software +- . .-<_> .<> Foundation; either version 2 of the License, + ._= =} : or (at your option) any later version. + .%`+i> _;_. + .i_,=:_. -`: PARTICULAR PURPOSE. See the GNU General +..}^=.= = ; Public License for more details. +++= -. .` .: +: = ...= . :.=- You should have received a copy of the GNU +-. .:....=;==+<; General Public License along with this file; + -_. . . )=. = see the file COPYING. If not, write to the + -- :-=` Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -270,10 +270,11 @@ void BackupAndRestore::scanForApplicationSettings() */ void BackupAndRestore::backup() { - if ( cb_type_userdata->isChecked() ) + backupUserData(); +/* if ( cb_type_userdata->isChecked() ) backupUserData(); else - backupRootFs(); + backupRootFs();*/ } @@ -587,8 +588,8 @@ void BackupAndRestore::restore() return; } - if ( QMessageBox::warning( this, tr( "Restore" ), - tr( "Would you really overwrite your local data?" ), + if ( QMessageBox::warning( this, tr( "Restore" ), + tr( "Would you really overwrite your local data?" ), tr( "Yes" ), tr( "No" ), "", 1 ) == 1 ) return; diff --git a/noncore/settings/backup/backuprestorebase.ui b/noncore/settings/backup/backuprestorebase.ui index c91f292..f2b7d75 100644 --- a/noncore/settings/backup/backuprestorebase.ui +++ b/noncore/settings/backup/backuprestorebase.ui @@ -130,59 +130,6 @@ true - - QButtonGroup - - name - frame_type - - - title - Type - - - layoutMargin - - - layoutSpacing - - - - margin - 6 - - - spacing - 2 - - - QRadioButton - - name - cb_type_fullbackup - - - text - Full Backup (Root File System) - - - - QRadioButton - - name - cb_type_userdata - - - text - User Data (Configuration + PIM) - - - checked - true - - - - -- cgit v0.9.0.2