projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only display the verbose error message once.
[quassel.git]
/
src
/
qtui
/
qtuiapplication.h
diff --git
a/src/qtui/qtuiapplication.h
b/src/qtui/qtuiapplication.h
index
9fb572a
..
d4f8774
100644
(file)
--- a/
src/qtui/qtuiapplication.h
+++ b/
src/qtui/qtuiapplication.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
9 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 *
@@
-21,7
+21,12
@@
#ifndef QTUIAPPLICATION_H_
#define QTUIAPPLICATION_H_
#ifndef QTUIAPPLICATION_H_
#define QTUIAPPLICATION_H_
-#include <QApplication>
+#ifdef HAVE_KDE
+# include <KApplication>
+#else
+# include <QApplication>
+#endif
+
#include <QSessionManager>
#include "quassel.h"
#include <QSessionManager>
#include "quassel.h"
@@
-29,7
+34,12
@@
class QtUi;
class QtUi;
+#ifdef HAVE_KDE
+class QtUiApplication : public KApplication, public Quassel {
+#else
class QtUiApplication : public QApplication, public Quassel {
class QtUiApplication : public QApplication, public Quassel {
+#endif
+
Q_OBJECT
public:
Q_OBJECT
public: