r18368 by jghali - move default parameter initialization to a more common place
scribus-commit
scribus-commit at lists.scribus.net
Fri Jul 12 22:11:16 UTC 2013
Author: jghali
Date: Fri Jul 12 22:11:15 2013
New Revision: 18368
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18368
Log:
move default parameter initialization to a more common place
Modified:
trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.h
Modified: trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18368&path=/trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp Fri Jul 12 22:11:15 2013
@@ -10,7 +10,7 @@
QString RunScriptDialog::m_lastScriptDir;
-RunScriptDialog::RunScriptDialog(QWidget* parent = 0, bool extEnable = false) :
+RunScriptDialog::RunScriptDialog(QWidget* parent, bool extEnable) :
QDialog(parent)
{
setupUi(this);
Modified: trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18368&path=/trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.h
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.h (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.h Fri Jul 12 22:11:15 2013
@@ -21,7 +21,7 @@
Q_OBJECT
public:
- RunScriptDialog(QWidget* parent, bool extEnable);
+ RunScriptDialog(QWidget* parent = 0, bool extEnable = false);
~RunScriptDialog();
//! \brief Check if the user wanted the script run as an extension script
More information about the scribus-commit
mailing list