desktop/kdeplasma-applets-daisy/daisy-compile-fix.patch
2010-06-25 23:11:58 +00:00

22 lines
1.1 KiB
Diff

diff -ur plasma-applet-daisy-0.0.4.22.orig//applet/src/daisy.cpp plasma-applet-daisy-0.0.4.22/applet/src/daisy.cpp
--- plasma-applet-daisy-0.0.4.22.orig//applet/src/daisy.cpp 2009-12-21 02:18:08.000000000 +0100
+++ plasma-applet-daisy-0.0.4.22/applet/src/daisy.cpp 2010-04-30 12:50:20.947897658 +0200
@@ -870,7 +870,7 @@
if (m_task)
{
TaskManager::BasicMenu *taskMenu;TaskManager::TaskItem *taskitem;
- taskitem = new TaskManager::TaskItem::TaskItem(this, m_task);
+ taskitem = new TaskManager::TaskItem(this, m_task);
taskMenu = new TaskManager::BasicMenu( qobject_cast<QWidget*>(this), taskitem, m_groupManager );
taskMenu->popup( event->screenPos() );
}
@@ -896,7 +896,7 @@
{
QList<QAction*> actionList;actionList << m_act_newinstance << m_act_editlauncher;
TaskManager::BasicMenu *taskMenu;TaskManager::TaskItem *taskitem;
- taskitem = new TaskManager::TaskItem::TaskItem(this, m_task);
+ taskitem = new TaskManager::TaskItem(this, m_task);
taskMenu = new TaskManager::BasicMenu( qobject_cast<QWidget*>(this), taskitem, m_groupManager, actionList );
taskMenu->popup( event->screenPos() );
}