[Comm] Не собирается kde-styles-baghira-0.7-alt1.src.rpm

Andrey Rahmatullin =?iso-8859-1?q?wrar_=CE=C1_altlinux=2Eru?=
Пн Окт 17 13:08:38 MSD 2005


On Sun, Oct 16, 2005 at 08:37:48PM +0300, Мар'ян Петришин wrote:
> In file included from usermanager_panelapplet_la.all_cpp.cpp:2:
> usermanager.cpp: In member function `void UserManager::doNewSession(bool)':
> usermanager.cpp:251: error: `PlainCaption' is not a member of type 
> `KMessageBox'

wrar на wrars-comp CVS/baghira/sessionapplet $ cvs log usermanager.cpp
[...]
revision 1.4
date: 2005/10/03 13:14:35;  author: baghira-style;  state: Exp;  lines: +5 -1
fixed 3.3 compilation

wrar на wrars-comp CVS/baghira/sessionapplet $ cvs diff -r1.3 -r1.4 usermanager.cpp
Index: usermanager.cpp
===================================================================
RCS file: /cvsroot/baghira/baghira/sessionapplet/usermanager.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -p -r1.3 -r1.4
--- usermanager.cpp     31 Jul 2005 16:15:57 -0000      1.3
+++ usermanager.cpp     3 Oct 2005 13:14:35 -0000       1.4
@@ -30,6 +30,7 @@
 #include <kconfig.h>
 #include <ksimpleconfig.h>
 #include <kapplication.h>
+#include <kdeversion.h>
 #include <kmessagebox.h>
 #include <kservice.h>
 #include <kstandarddirs.h>
@@ -248,7 +249,10 @@ void UserManager::doNewSession( bool loc
       i18n("Warning - New Session"),
       KGuiItem(i18n("&Start New Session"), "fork"),
       ":confirmNewSession",
-      KMessageBox::PlainCaption | KMessageBox::Notify);
+#if KDE_IS_VERSION(3,3,91) //3.4 beta
+      KMessageBox::PlainCaption |
+#endif
+      KMessageBox::Notify);

    if (result==KMessageBox::Cancel)
       return;



Это уже после релиза 0.7.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> Если железо вызывает сомнения и нет ups
(т.е. о хранении данных речь не идёт, только о выживании) [...]
		-- mike in community@
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/community/attachments/20051017/a69e0ec8/attachment-0003.bin>


Подробная информация о списке рассылки community