Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f5a37db6
Commit
f5a37db6
authored
May 16, 2011
by
Friedemann Kleint
Browse files
Utils: Fix colorbutton slot warning.
Fix up
e8cc9963
.
parent
68dd1284
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/qtcolorbutton.cpp
View file @
f5a37db6
...
...
@@ -45,7 +45,13 @@ class QtColorButtonPrivate: public QObject
Q_OBJECT
QtColorButton
*
q_ptr
;
Q_DECLARE_PUBLIC
(
QtColorButton
)
public
slots
:
void
slotEditColor
();
public:
QColor
shownColor
()
const
;
QPixmap
generatePixmap
()
const
;
QColor
m_color
;
#ifndef QT_NO_DRAGANDDROP
QColor
m_dragColor
;
...
...
@@ -54,10 +60,6 @@ public:
#endif
bool
m_backgroundCheckered
;
bool
m_alphaAllowed
;
void
slotEditColor
();
QColor
shownColor
()
const
;
QPixmap
generatePixmap
()
const
;
};
void
QtColorButtonPrivate
::
slotEditColor
()
...
...
@@ -132,7 +134,7 @@ QtColorButton::QtColorButton(QWidget *parent)
setAcceptDrops
(
true
);
connect
(
this
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
slotEditColor
()));
connect
(
this
,
SIGNAL
(
clicked
()),
d_ptr
,
SLOT
(
slotEditColor
()));
setSizePolicy
(
QSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Preferred
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment