diff options
author | hjk <qtc-committer@nokia.com> | 2012-04-17 08:01:25 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-04-17 09:53:44 +0200 |
commit | 5b0bf616401624e28ba1c0e94e474c2da2e6350a (patch) | |
tree | 661e3e7490e2f8b718c77f03f37bccb806ed7b18 /src/plugins/subversion/checkoutwizard.cpp | |
parent | 37e38530905b31607d07bea1ca65618d95c8f380 (diff) | |
download | qt-creator-5b0bf616401624e28ba1c0e94e474c2da2e6350a.tar.gz |
qtcassert: move actual printing to separate function and enforce style
This also allows simple setting of breakpoints on failed asserts.
Change-Id: I6dd84cbfaf659d57e39f3447386cebc0221b2b84
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/subversion/checkoutwizard.cpp')
-rw-r--r-- | src/plugins/subversion/checkoutwizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/subversion/checkoutwizard.cpp b/src/plugins/subversion/checkoutwizard.cpp index ef708ab4b8..a1f84338a7 100644 --- a/src/plugins/subversion/checkoutwizard.cpp +++ b/src/plugins/subversion/checkoutwizard.cpp @@ -83,7 +83,7 @@ QSharedPointer<VcsBase::AbstractCheckoutJob> CheckoutWizard::createJob(const QLi { // Collect parameters for the checkout command. const CheckoutWizardPage *cwp = qobject_cast<const CheckoutWizardPage *>(parameterPages.front()); - QTC_ASSERT(cwp, return QSharedPointer<VcsBase::AbstractCheckoutJob>()) + QTC_ASSERT(cwp, return QSharedPointer<VcsBase::AbstractCheckoutJob>()); const SubversionSettings settings = SubversionPlugin::instance()->settings(); const QString binary = settings.svnCommand; const QString directory = cwp->directory(); |