projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quassel no longer gets a nervous breakdown when you select too many buffers - fixes...
[quassel.git]
/
src
/
core
/
coreapplication.h
diff --git
a/src/core/coreapplication.h
b/src/core/coreapplication.h
index
07fa582
..
4245455
100644
(file)
--- a/
src/core/coreapplication.h
+++ b/
src/core/coreapplication.h
@@
-21,7
+21,11
@@
#ifndef COREAPPLICATION_H_
#define COREAPPLICATION_H_
#ifndef COREAPPLICATION_H_
#define COREAPPLICATION_H_
-#include <QCoreApplication>
+#ifdef HAVE_KDE
+# include <KApplication>
+#else
+# include <QCoreApplication>
+#endif
#include "quassel.h"
#include "quassel.h"
@@
-36,12
+40,17
@@
class CoreApplicationInternal {
~CoreApplicationInternal();
bool init();
~CoreApplicationInternal();
bool init();
-
+
private:
bool _coreCreated;
};
private:
bool _coreCreated;
};
+#ifdef HAVE_KDE
+class CoreApplication : public KApplication, public Quassel {
+#else
class CoreApplication : public QCoreApplication, public Quassel {
class CoreApplication : public QCoreApplication, public Quassel {
+#endif
+
Q_OBJECT
public:
CoreApplication(int &argc, char **argv);
Q_OBJECT
public:
CoreApplication(int &argc, char **argv);