summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qcolordialog.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-05-09 12:54:38 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-10 06:56:04 +0200
commitd223b30c42a9a8d42a8dd35b2d93615e646b4f1e (patch)
treea85c9bbe9e2431c52862e5acc86d88d7785b5c95 /src/widgets/dialogs/qcolordialog.cpp
parent75552c8f62dcfb8012c306b37c79ec629448d780 (diff)
qpa: Clean up QPlatformDialogHelper API
Remove the _sys suffix from all members of QPlatformDialogHelper and its subclasses. The QPlatform* class prefix already implies that these methods are system specific, we don't need the method suffix as well. Change-Id: I5ad1f928fab3a989992951acc244915e7fa48d32 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/dialogs/qcolordialog.cpp')
-rw-r--r--src/widgets/dialogs/qcolordialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/dialogs/qcolordialog.cpp b/src/widgets/dialogs/qcolordialog.cpp
index d7a8f5dc21..0dd3d3cdfc 100644
--- a/src/widgets/dialogs/qcolordialog.cpp
+++ b/src/widgets/dialogs/qcolordialog.cpp
@@ -1248,7 +1248,7 @@ inline bool QColorDialogPrivate::isAlphaVisible() const { return cs->isAlphaVisi
QColor QColorDialogPrivate::currentQColor() const
{
if (!options->testOption(QColorDialogOptions::DontUseNativeDialog) && nativeDialogInUse)
- return platformColorDialogHelper()->currentColor_sys();
+ return platformColorDialogHelper()->currentColor();
return cs->currentQColor();
}
@@ -1707,7 +1707,7 @@ void QColorDialog::setCurrentColor(const QColor &color)
d->setCurrentAlpha(color.alpha());
if (!testOption(QColorDialog::DontUseNativeDialog) && d->nativeDialogInUse)
- d->platformColorDialogHelper()->setCurrentColor_sys(color);
+ d->platformColorDialogHelper()->setCurrentColor(color);
}
QColor QColorDialog::currentColor() const