mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kwin: compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6d5dc0fb4c
commit
dcd7d1a72b
2 changed files with 3 additions and 2 deletions
|
@ -136,8 +136,8 @@ void MouseMarkEffect::paintScreen(int mask, QRegion region, ScreenPaintData& dat
|
||||||
}
|
}
|
||||||
|
|
||||||
void MouseMarkEffect::slotMouseChanged(const QPoint& pos, const QPoint&,
|
void MouseMarkEffect::slotMouseChanged(const QPoint& pos, const QPoint&,
|
||||||
Qt::MouseButtons, Qt::MouseButtons,
|
Qt::MouseButtons, Qt::MouseButtons,
|
||||||
Qt::KeyboardModifiers modifiers, Qt::KeyboardModifiers)
|
Qt::KeyboardModifiers modifiers, Qt::KeyboardModifiers)
|
||||||
{
|
{
|
||||||
if (modifiers == (Qt::META | Qt::SHIFT | Qt::CTRL)) { // start/finish arrow
|
if (modifiers == (Qt::META | Qt::SHIFT | Qt::CTRL)) { // start/finish arrow
|
||||||
if (arrow_start != NULL_POINT) {
|
if (arrow_start != NULL_POINT) {
|
||||||
|
|
|
@ -168,6 +168,7 @@ int Monitor::selectedEdgeItem(int edge) const
|
||||||
return popup_actions[ edge ].indexOf(act);
|
return popup_actions[ edge ].indexOf(act);
|
||||||
}
|
}
|
||||||
kFatal() << "Something strange happened";
|
kFatal() << "Something strange happened";
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Monitor::popup(Corner* c, QPoint pos)
|
void Monitor::popup(Corner* c, QPoint pos)
|
||||||
|
|
Loading…
Add table
Reference in a new issue