Changeset View
Changeset View
Standalone View
Standalone View
src/dolphintabwidget.cpp
Context not available. | |||||
226 | Q_ASSERT(index < count()); | 226 | Q_ASSERT(index < count()); | ||
---|---|---|---|---|---|
227 | 227 | | |||
228 | if (count() < 2) { | 228 | if (count() < 2) { | ||
229 | // Never close the last tab. | 229 | // Close Dolphin when closing the last tab. | ||
230 | parentWidget()->close(); | ||||
230 | return; | 231 | return; | ||
231 | } | 232 | } | ||
232 | 233 | | |||
Context not available. |