|
|
@ -118,7 +118,7 @@ void RestoreBackupWizard::slotPage1Changed()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
RDBManager manager;
|
|
|
|
RDBManager manager;
|
|
|
|
TQDateTime lastBackup = manager.lastIncrement(b);
|
|
|
|
TQDateTime lastBackup = manager.lastIncrement(b);
|
|
|
|
restoreBackupWizard3View->lblLastBackup->setText(lastBackup.toString(Qt::LocalDate));
|
|
|
|
restoreBackupWizard3View->lblLastBackup->setText(lastBackup.toString(TQt::LocalDate));
|
|
|
|
TQValueList<TQDateTime> increments = manager.incrementList(b);
|
|
|
|
TQValueList<TQDateTime> increments = manager.incrementList(b);
|
|
|
|
if ( increments.size() != 0 )
|
|
|
|
if ( increments.size() != 0 )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -222,7 +222,7 @@ void RestoreBackupWizard::setupPage3()
|
|
|
|
restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View");
|
|
|
|
restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View");
|
|
|
|
|
|
|
|
|
|
|
|
restoreBackupWizard3View->incrementList->setSorting(0,false);
|
|
|
|
restoreBackupWizard3View->incrementList->setSorting(0,false);
|
|
|
|
restoreBackupWizard3View->lblDate->setText(TQDateTime::currentDateTime().toString(Qt::LocalDate));
|
|
|
|
restoreBackupWizard3View->lblDate->setText(TQDateTime::currentDateTime().toString(TQt::LocalDate));
|
|
|
|
addPage( page3, "Date to restore" );
|
|
|
|
addPage( page3, "Date to restore" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|