- Timestamp:
- Aug 13, 2012, 10:03:31 AM (12 years ago)
- Location:
- Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UCommon.pas
r364 r404 7 7 uses 8 8 {$IFDEF Windows}Windows,{$ENDIF} 9 Classes, SysUtils, StrUtils, Dialogs, Process, 9 Classes, SysUtils, StrUtils, Dialogs, Process, LCLIntf, 10 10 FileUtil; //, ShFolder, ShellAPI; 11 11 … … 404 404 Browser, Params: string; 405 405 begin 406 try 406 OpenURL(URL); 407 {try 407 408 Process := TProcess.Create(nil); 408 409 Browser := ''; … … 415 416 finally 416 417 Process.Free; 417 end; 418 end;} 418 419 end; 419 420 -
Common/URegistry.pas
r400 r404 34 34 DefaultValue: Double): Double; 35 35 function DeleteKeyRecursive(const Key: string): Boolean; 36 function OpenKey(const Key: string; CanCreate: Boolean): Boolean; 36 37 end; 37 38 … … 97 98 end; 98 99 100 function TRegistryEx.OpenKey(const Key: string; CanCreate: Boolean): Boolean; 101 begin 102 {$IFDEF Linux} 103 CloseKey; 104 {$ENDIF} 105 Result := inherited OpenKey(Key, CanCreate); 106 end; 107 99 108 function TRegistryEx.ReadBoolWithDefault(const Name: string; 100 109 DefaultValue: Boolean): Boolean;
Note:
See TracChangeset
for help on using the changeset viewer.