summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/main.cpp
Unidiff
Diffstat (limited to 'noncore/tools/euroconv/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/tools/euroconv/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/euroconv/main.cpp b/noncore/tools/euroconv/main.cpp
index dd4ff1d..8b417fe 100644
--- a/noncore/tools/euroconv/main.cpp
+++ b/noncore/tools/euroconv/main.cpp
@@ -17,23 +17,23 @@
17 17
18#include "calcdisplay.h" 18#include "calcdisplay.h"
19#include "calckeypad.h" 19#include "calckeypad.h"
20 20
21#include <opie2/oapplicationfactory.h> 21#include <opie2/oapplicationfactory.h>
22 22
23struct Layout : QVBox{ 23struct Layout : QVBox{
24 static QString appName() { return QString::fromLatin1("euroconv"); } 24 static QString appName() { return QString::fromLatin1("euroconv"); }
25 Layout(QWidget *p, const char* n, WFlags) 25 Layout(QWidget *p, const char* n, WFlags)
26 :QVBox(0,"fond" ) 26 :QVBox(0,"fond" )
27 { 27 {
28 LCDDisplay *lcd = new LCDDisplay(this, "lcd"); 28 LCDDisplay *lcd = new LCDDisplay(this, "lcd");
29 KeyPad *num = new KeyPad(lcd, this, "keypad"); 29 (void)new KeyPad(lcd, this, "keypad");
30 30
31 setCaption( QObject::tr("Euroconv") ); 31 setCaption( QObject::tr("Euroconv") );
32 }; 32 };
33 33
34}; 34};
35 35
36using namespace Opie::Core; 36using namespace Opie::Core;
37 37
38OPIE_EXPORT_APP( OApplicationFactory<Layout> ) 38OPIE_EXPORT_APP( OApplicationFactory<Layout> )
39 39