Skip to content

Commit c8aaa66

Browse files
committed
documentation update
1 parent 3f3aba9 commit c8aaa66

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,12 @@ The binary file of the browser, ``peb``, ``peb.app``, ``peb.dmg`` or ``peb.exe``
303303
A PEB-based application can have its own icon and it must be located at ``{PEB_binary_directory}/resources/app/app.png``. If this file is found during application startup, it will be used as the icon of all windows and dialog boxes. If this file is not found, the default icon embedded into the resources of the browser binary will be used.
304304

305305
## Data Directory
306-
Data directory is not hard coded in C++ code, but a separation of data files from code is generally a good practice. Data directory should contain any SQLite or flat file database or other data files, that a PEB-based application is going to use or produce. The recommended path for data directory is inside the ``{PEB_binary_directory}/resources`` directory. ``data`` is a good directory name, although not mandatory. Perl scripts can access this folder using the following code:
306+
Data directory is not hard coded in C++ code, but a separation of data files and code is generally a good practice. Data directory should contain any files, that a PEB-based application is going to use or produce. The recommended data directory is ``{PEB_binary_directory}/resources/data``. Perl scripts can access this folder using the following code:
307307

308308
```perl
309309
use Cwd;
310310

311-
my $current_working_directory = cwd();
311+
my $current_working_directory = cwd(); // the directory of the browser binary by default
312312
my $data_directory = "$current_working_directory/resources/data";
313313
```
314314

@@ -347,8 +347,7 @@ pebSettings.closeConfirmation =
347347
## Specific Keyboard Shortcuts
348348
All specific keyboard shortcuts are available only in the QtWebKit builds of PEB.
349349
* <kbd>Ctrl</kbd> + <kbd>I</kbd> - start QWebInspector
350-
* <kbd>Ctrl</kbd> + <kbd>P</kbd> - get printer selection dialog.
351-
If no printer is configured, no dialog is displayed.
350+
* <kbd>Ctrl</kbd> + <kbd>P</kbd> - get printer selection dialog. If no printer is configured, no dialog is displayed.
352351
* <kbd>Ctrl</kbd> + <kbd>R</kbd> - get print preview
353352

354353
## What PEB Is Not

0 commit comments

Comments
 (0)