- Timestamp:
- Jul 10, 2019 1:24:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r79365 r79673 50 50 #include "CSystemProperties.h" 51 51 52 const ULONG uAllowedLogSize = _256M; 52 53 UIVMLogViewerWidget::UIVMLogViewerWidget(EmbedTo enmEmbedding, 53 54 UIActionPool *pActionPool, … … 817 818 strText.append(QString::fromUtf8((char*)data.data(), data.size())); 818 819 uOffset += data.size(); 820 /* Don't read futher if we have reached the allowed size limit: */ 821 if (uOffset >= uAllowedLogSize) 822 { 823 strText.append("\n=========Log file has been truncate as it is too large.======"); 824 break; 825 } 819 826 } 820 827 /* Anything read at all? */
Note:
See TracChangeset
for help on using the changeset viewer.