diff options
| author | Andreas Ramm <[email protected]> | 2007-11-01 03:22:50 +0000 |
|---|---|---|
| committer | Andreas Ramm <[email protected]> | 2007-11-01 03:22:50 +0000 |
| commit | d4e536b45f81c0fb0aeba475eb45d49e9f0c14a5 (patch) | |
| tree | 7a6a08cf2137018c33cce4cba78a4d2a61ec302f | |
| parent | 8ee39bc043cce99e801692287fff084c291f12e1 (diff) | |
Fix crash caused by unchecked pointer access
svn path=/trunk/KDE/kdebase/apps/; revision=731586
| -rw-r--r-- | src/viewpropertiesdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewpropertiesdialog.cpp b/src/viewpropertiesdialog.cpp index 102629875..5c9f7c3e1 100644 --- a/src/viewpropertiesdialog.cpp +++ b/src/viewpropertiesdialog.cpp @@ -339,7 +339,7 @@ void ViewPropertiesDialog::applyViewProperties() m_isDirty = false; - if (m_useAsDefault->isChecked()) { + if (m_useAsDefault && m_useAsDefault->isChecked()) { // For directories where no .directory file is available, the .directory // file stored for the global view properties is used as fallback. To update // this file we temporary turn on the global view properties mode. |
