Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 7d907c64 authored by Joachim Eibl's avatar Joachim Eibl

Patch for Ubuntu by Scott Corley

git-svn-id: c8aa9fed-2811-0410-8543-893ada326672
parent a6f5a288
......@@ -27,6 +27,7 @@
#include <QTranslator>
#include <QLocale>
#include <QFont>
#include <QClipboard>
#include <vector>
......@@ -250,9 +251,12 @@ int main(int argc, char *argv[])
KDiff3Shell* p = new KDiff3Shell();
p->setWindowState( p->windowState() | Qt::WindowActive ); // Patch for ubuntu: window not active on startup
//app.installEventFilter( new CFilter );
int retVal = app.exec();
if (QApplication::clipboard()->text().size() == 0)
QApplication::clipboard()->clear(); // Patch for Ubuntu: Fix issue with Qt clipboard
return retVal;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment