[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/devtools/kdevelop4-extra-plugins/coverage
From: Daniel Calviño Sánchez <danxuliu () gmail ! com>
Date: 2012-12-07 12:45:38
Message-ID: 20121207124538.97802AC867 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1327616 by danxuliu:
Use default mode to open documents.
The default mode always opens the document, as it creates the view if needed. The \
previously used mode, "DoNotCreateView", only showed the document if it was already \
opened.
M +1 -1 reportwidget.cpp
--- trunk/playground/devtools/kdevelop4-extra-plugins/coverage/reportwidget.cpp \
#1327615:1327616 @@ -206,7 +206,7 @@
kDebug() << "Open doc with coverage annotations " << file->url();
KTextEditor::Cursor cursor;
IDocument* doc;
- doc = dc->openDocument(file->url(), cursor, \
IDocumentController::DoNotCreateView); + doc = dc->openDocument(file->url(), \
cursor); if (!doc || !doc->isTextDocument()) return;
Q_ASSERT(m_manager);
m_manager->watch(doc);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic