• Mike Fleetwood's avatar
    Rename Dialog_Progress member variable to m_curr_op · ea7bd0d4
    Mike Fleetwood authored
    Having a member variable named 't' which is used to share state in a
    Dialog_Progress object between on_signal_show() and on_cancel() methods
    is horrible.  Rename to something more meaningful.
    
    Also initialise m_curr_op in the constructor's initialisation list,
    rather than later when first used in on_signal_show().  Not strictly
    required, but avoids this POD (Plain Old Data) member variable being
    undefined in the Dialog_Progress object between construction and when
    on_signal_show() previously assigned to it for the first time and
    started using it.
    
    * C++ FAQ / Should my constructors use "initialization lists" or
      "assignment"?
      https://isocpp.org/wiki/faq/ctors#init-lists
    ea7bd0d4
Name
Last commit
Last update
..
BlockSpecial.h Loading commit data...
CopyBlocks.h Loading commit data...
DMRaid.h Loading commit data...
Device.h Loading commit data...
DialogFeatures.h Loading commit data...
DialogManageFlags.h Loading commit data...
DialogPasswordEntry.h Loading commit data...
Dialog_Base_Partition.h Loading commit data...
Dialog_Disklabel.h Loading commit data...
Dialog_FileSystem_Label.h Loading commit data...
Dialog_Partition_Copy.h Loading commit data...
Dialog_Partition_Info.h Loading commit data...
Dialog_Partition_Name.h Loading commit data...
Dialog_Partition_New.h Loading commit data...
Dialog_Partition_Resize_Move.h Loading commit data...
Dialog_Progress.h Loading commit data...
Dialog_Rescue_Data.h Loading commit data...
DrawingAreaVisualDisk.h Loading commit data...
FS_Info.h Loading commit data...
FileSystem.h Loading commit data...
Frame_Resizer_Base.h Loading commit data...
Frame_Resizer_Extended.h Loading commit data...
GParted_Core.h Loading commit data...
HBoxOperations.h Loading commit data...
LUKS_Info.h Loading commit data...
LVM2_PV_Info.h Loading commit data...
Makefile.am Loading commit data...
MenuHelpers.h Loading commit data...
Mount_Info.h Loading commit data...
Operation.h Loading commit data...
OperationChangeUUID.h Loading commit data...
OperationCheck.h Loading commit data...
OperationCopy.h Loading commit data...
OperationCreate.h Loading commit data...
OperationDelete.h Loading commit data...
OperationDetail.h Loading commit data...
OperationFormat.h Loading commit data...
OperationLabelFileSystem.h Loading commit data...
OperationNamePartition.h Loading commit data...
OperationResizeMove.h Loading commit data...
OptionComboBox.h Loading commit data...
Partition.h Loading commit data...
PartitionLUKS.h Loading commit data...
PartitionVector.h Loading commit data...
PasswordRAMStore.h Loading commit data...
PipeCapture.h Loading commit data...
Proc_Partitions_Info.h Loading commit data...
ProgressBar.h Loading commit data...
SWRaid_Info.h Loading commit data...
TreeView_Detail.h Loading commit data...
Utils.h Loading commit data...
Win_GParted.h Loading commit data...
btrfs.h Loading commit data...
exfat.h Loading commit data...
ext2.h Loading commit data...
f2fs.h Loading commit data...
fat16.h Loading commit data...
hfs.h Loading commit data...
hfsplus.h Loading commit data...
i18n.h Loading commit data...
jfs.h Loading commit data...
linux_swap.h Loading commit data...
luks.h Loading commit data...
lvm2_pv.h Loading commit data...
minix.h Loading commit data...
nilfs2.h Loading commit data...
ntfs.h Loading commit data...
reiser4.h Loading commit data...
reiserfs.h Loading commit data...
udf.h Loading commit data...
xfs.h Loading commit data...