summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opierdesktop/qtwin.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/noncore/net/opierdesktop/qtwin.cpp b/noncore/net/opierdesktop/qtwin.cpp
index d2a5ef1..e350bf6 100644
--- a/noncore/net/opierdesktop/qtwin.cpp
+++ b/noncore/net/opierdesktop/qtwin.cpp
@@ -20,11 +20,7 @@
*/
#include "rdesktop.h"
-#ifdef SHARP
#include <qpe/qpeapplication.h>
-#else
-#include <qapplication.h>
-#endif
#include <qmainwindow.h>
#include <qwidget.h>
#include <qpainter.h>
@@ -57,11 +53,7 @@ extern char username[];
int global_sock;
QSocketNotifier* SocketNotifier;
-#ifdef SHARP
QPEApplication* App;
-#else
-QApplication* App;
-#endif
QMyMainWindow* MW;
QMyScrollView* SV;
struct QColorMap
@@ -1027,11 +1019,7 @@ BOOL ui_init(void)
CM = NULL;
BS = NULL;
-#ifdef SHARP
App = new QPEApplication(g_argc, g_argv);
-#else
- App = new QApplication(g_argc, g_argv, QApplication::GuiServer);
-#endif
if (fullscreen)
{
d = QApplication::desktop();
@@ -1616,11 +1604,7 @@ int main(int argc, char** argv)
{
CM = NULL;
BS = NULL;
-#ifdef SHARP
App = new QPEApplication(argc, argv);
-#else
- App = new QApplication(argc, argv, QApplication::GuiServer);
-#endif
SV = new QMyScrollView();
App->setMainWidget(SV);
SV->showMaximized();