Diffstat (limited to 'noncore/settings/networksettings/ppp/debug.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/debug.cpp b/noncore/settings/networksettings/ppp/debug.cpp index 8652931..447ccf2 100644 --- a/noncore/settings/networksettings/ppp/debug.cpp +++ b/noncore/settings/networksettings/ppp/debug.cpp | |||
@@ -112,30 +112,30 @@ void DebugWidget::keyPressEvent(QKeyEvent *k) { | |||
112 | void DebugWidget::resizeEvent(QResizeEvent *e){ | 112 | void DebugWidget::resizeEvent(QResizeEvent *e){ |
113 | int w = width() ; | 113 | int w = width() ; |
114 | int h = height(); | 114 | int h = height(); |
115 | e = e; | 115 | e = e; |
116 | 116 | ||
117 | text_window->setGeometry(2,5,w - 2 ,h - 63); | 117 | text_window->setGeometry(2,5,w - 2 ,h - 63); |
118 | statuslabel->setGeometry(2, h - 56 , w -2 , 20); | 118 | statuslabel->setGeometry(2, h - 56 , w -2 , 20); |
119 | dismiss->setGeometry(w - 72 , h - 32, 70, 30); | 119 | dismiss->setGeometry(w - 72 , h - 32, 70, 30); |
120 | // fline->setGeometry(2,h -70 ,w - 4,5); | 120 | // fline->setGeometry(2,h -70 ,w - 4,5); |
121 | } | 121 | } |
122 | 122 | ||
123 | 123 | ||
124 | void DebugWidget::enter() { | 124 | void DebugWidget::enter() { |
125 | text_window->append("\r\n"); | 125 | text_window->append("\r\n"); |
126 | } | 126 | } |
127 | 127 | ||
128 | 128 | ||
129 | void DebugWidget::toggleVisibility() { | 129 | void DebugWidget::toggleVisibility() { |
130 | if(isVisible()) | 130 | if(isVisible()) |
131 | hide(); | 131 | hide(); |
132 | else | 132 | else |
133 | show(); | 133 | show(); |
134 | 134 | ||
135 | bool showlog = isVisible(); | 135 | bool showlog = isVisible(); |
136 | gpppdata.set_show_log_window(showlog); | 136 | PPPData::data()->set_show_log_window(showlog); |
137 | } | 137 | } |
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||