summaryrefslogtreecommitdiff
path: root/core/applets/vtapplet/vt.h
authorzecke <zecke>2004-02-05 16:44:20 (UTC)
committer zecke <zecke>2004-02-05 16:44:20 (UTC)
commit4c4ed7176231558d01aeca2eb705fc6810ec7766 (patch) (side-by-side diff)
treed923fd4ca70d6db917a0e154a5a642a444cab87e /core/applets/vtapplet/vt.h
parentef8ece225a663f0ff1262989085fc214500beebe (diff)
downloadopie-4c4ed7176231558d01aeca2eb705fc6810ec7766.zip
opie-4c4ed7176231558d01aeca2eb705fc6810ec7766.tar.gz
opie-4c4ed7176231558d01aeca2eb705fc6810ec7766.tar.bz2
Stuff can be broken if you really want it... or because only root can open /dev/console...
Anyway have a mutable QPopupMenu in the class and remove unsigned long ref as we don't need it
Diffstat (limited to 'core/applets/vtapplet/vt.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vtapplet/vt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/applets/vtapplet/vt.h b/core/applets/vtapplet/vt.h
index 6bdb9e0..4c92ddd 100644
--- a/core/applets/vtapplet/vt.h
+++ b/core/applets/vtapplet/vt.h
@@ -44,11 +44,9 @@ public:
public slots:
virtual void changeVT( int index );
virtual void updateMenu();
-
private:
- ulong ref;
+ mutable QPopupMenu* m_subMenu;
};
-static QPopupMenu* submenu;
#endif