[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: ktoolbar patch
From: Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date: 1999-01-31 9:28:02
[Download RAW message or body]
Hi,
Somone complained that when compiling ktoolbar he gets
warning "Flat not handled in the switch".
This warning is harmless, because in Flat mode updateRects (where that
"switch" is) isn't called at all.
This is the patch which removes that warning. It works few days on my machine
without problems. Shall I commit it?
Index: kdeui/ktoolbar.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/ktoolbar.cpp,v
retrieving revision 1.96
diff -u -r1.96 ktoolbar.cpp
--- ktoolbar.cpp 1999/01/18 10:57:11 1.96
+++ ktoolbar.cpp 1999/01/31 09:23:28
@@ -1158,6 +1158,9 @@
case Right:
layoutVertical ();
break;
+
+ default:
+ return;
}
if (res == true)
--- end patch ---
--
Sven Radej radej@kde.org
KDE developer Visit http://www.kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic