projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment regarding the removal of X11 hacks to GraphicalUi
[quassel.git]
/
src
/
qtui
/
columnhandleitem.cpp
diff --git
a/src/qtui/columnhandleitem.cpp
b/src/qtui/columnhandleitem.cpp
index
916748a
..
62bd14b
100644
(file)
--- a/
src/qtui/columnhandleitem.cpp
+++ b/
src/qtui/columnhandleitem.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
5
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-38,7
+38,7
@@
ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent)
_opacity(0),
_animation(new QPropertyAnimation(this, "opacity", this))
{
_opacity(0),
_animation(new QPropertyAnimation(this, "opacity", this))
{
- setAccept
s
HoverEvents(true);
+ setAcceptHoverEvents(true);
setZValue(10);
setCursor(QCursor(Qt::OpenHandCursor));
setZValue(10);
setCursor(QCursor(Qt::OpenHandCursor));
@@
-58,6
+58,7
@@
void ColumnHandleItem::setXPos(qreal xpos)
QRectF sceneBRect = _boundingRect.translated(x(), 0);
_sceneLeft = sceneBRect.left();
_sceneRight = sceneBRect.right();
QRectF sceneBRect = _boundingRect.translated(x(), 0);
_sceneLeft = sceneBRect.left();
_sceneRight = sceneBRect.right();
+ emit positionChanged(xpos);
}
}