r16260 by fschmid - Disabled the tooltips in the colorlistbox for now because of random crashes in the gradient editor.
scribus-commit
scribus-commit at lists.scribus.net
Sun Jan 16 22:36:01 CET 2011
Author: fschmid
Date: Sun Jan 16 21:36:01 2011
New Revision: 16260
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16260
Log:
Disabled the tooltips in the colorlistbox for now because of random crashes in the gradient editor.
Modified:
trunk/Scribus/scribus/ui/colorlistbox.cpp
Modified: trunk/Scribus/scribus/ui/colorlistbox.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16260&path=/trunk/Scribus/scribus/ui/colorlistbox.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/colorlistbox.cpp (original)
+++ trunk/Scribus/scribus/ui/colorlistbox.cpp Sun Jan 16 21:36:01 2011
@@ -446,13 +446,14 @@
bool ColorListBox::viewportEvent(QEvent *event)
{
+ /* commented out because of random crashes in the colorcombobox of the gradient editor
if (event->type() == QEvent::ToolTip)
{
if (cList != NULL)
{
QHelpEvent *helpEvent = static_cast<QHelpEvent *>(event);
QListWidgetItem* it = itemAt(helpEvent->pos());
- if (it != 0)
+ if (it != NULL)
{
event->accept();
QString tipText = "";
@@ -477,7 +478,8 @@
}
}
}
- else if (event->type() == QEvent::MouseButtonPress)
+ else */
+ if (event->type() == QEvent::MouseButtonPress)
{
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
if (mouseEvent->button() == Qt::RightButton)
More information about the scribus-commit
mailing list