diff options
| author | Frank Reininghaus <[email protected]> | 2014-08-12 09:23:24 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2014-08-12 09:23:24 +0200 |
| commit | 4b70446c17dff6646c11966670bcbe145d07c685 (patch) | |
| tree | cb27da78c14dfb8338c089883b240fbfc0a356f5 /src/dolphintabpage.cpp | |
| parent | 38381bc6a2999b1d8a0b8a6e2b8d703faa0944d9 (diff) | |
| parent | bf1ac8ee9b2edcf9e90f74bae7f392c1b3c318b2 (diff) | |
Merge branch 'KDE/4.14'
Diffstat (limited to 'src/dolphintabpage.cpp')
| -rw-r--r-- | src/dolphintabpage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index d1184a9f2..23e33c958 100644 --- a/src/dolphintabpage.cpp +++ b/src/dolphintabpage.cpp @@ -187,6 +187,10 @@ QByteArray DolphinTabPage::saveState() const void DolphinTabPage::restoreState(const QByteArray& state) { + if (state.isEmpty()) { + return; + } + QByteArray sd = state; QDataStream stream(&sd, QIODevice::ReadOnly); |
