r23746 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Sun May 10 17:11:38 UTC 2020
Author: jghali
Date: Sun May 10 17:11:37 2020
New Revision: 23746
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23746
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/plugins/colorwheel/colorwheel.cpp
Modified: trunk/Scribus/scribus/plugins/colorwheel/colorwheel.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23746&path=/trunk/Scribus/scribus/plugins/colorwheel/colorwheel.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/colorwheel/colorwheel.cpp (original)
+++ trunk/Scribus/scribus/plugins/colorwheel/colorwheel.cpp Sun May 10 17:11:37 2020
@@ -82,11 +82,12 @@
bool ColorWheelPlugin::run(ScribusDoc* doc, const QString& target)
{
Q_ASSERT(target.isNull());
- ScribusDoc* currDoc=doc;
- if (currDoc==nullptr)
- currDoc=ScCore->primaryMainWindow()->doc;
- if (currDoc==nullptr)
+ ScribusDoc* currDoc = doc;
+ if (currDoc == nullptr)
+ currDoc = ScCore->primaryMainWindow()->doc;
+ if (currDoc == nullptr)
return false;
+
auto *dlg = new CWDialog(currDoc->scMW(), currDoc, "dlg", true);
if (dlg)
{
More information about the scribus-commit
mailing list