[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs
From: André Wöbbeking <Woebbeking () web ! de>
Date: 2005-04-17 17:48:34
Message-ID: 20050417174834.68A9A488 () office ! kde ! org
[Download RAW message or body]
CVS commit by woebbe:
--warnings: unused variable
M +2 -2 kate/part/katedialogs.cpp 1.167
M +4 -1 kdecore/kmdcodec.cpp 1.64
M +2 -2 kdecore/kpty.cpp 1.26
M +1 -1 kmdi/kmdi/dockcontainer.cpp 1.13
M +2 -2 kresources/selectdialog.cpp 1.16
--- kdelibs/kate/part/katedialogs.cpp #1.166:1.167
@@ -302,6 +302,6 @@ void KateIndentConfigTab::configPage()
box->setSpacing( KDialog::spacingHint() );
dlg.setMainWidget(box);
- QLabel *header = new QLabel("<qt><b>" + KateAutoIndent::modeDescription(index) + "</b></qt>", box);
- KSeparator* separator = new KSeparator(KSeparator::HLine, box);
+ new QLabel("<qt><b>" + KateAutoIndent::modeDescription(index) + "</b></qt>", box);
+ new KSeparator(KSeparator::HLine, box);
IndenterConfigPage* page = KateAutoIndent::configPage(box, index);
--- kdelibs/kdecore/kmdcodec.cpp #1.63:1.64
@@ -1423,6 +1423,6 @@ inline void KMD4::HH ( Q_UINT32& a, Q_UI
void KMD4::byteReverse( unsigned char *buf, Q_UINT32 len )
{
- Q_UINT32 *b = (Q_UINT32*) buf;
#ifdef WORDS_BIGENDIAN
+ Q_UINT32 *b = (Q_UINT32*) buf;
while ( len > 0 ) {
*b = ((((*b) & 0xff000000) >> 24) | (((*b) & 0x00ff0000) >> 8) |
@@ -1431,4 +1431,7 @@ void KMD4::byteReverse( unsigned char *b
b++;
}
+#else
+ Q_UNUSED(buf)
+ Q_UNUSED(len)
#endif
}
--- kdelibs/kdecore/kpty.cpp #1.25:1.26
@@ -492,4 +492,5 @@ void KPty::setUtf8Mode(bool useUtf8)
{
d->utf8 = useUtf8;
+#ifdef IUTF8
if (d->masterFd >= 0) {
// without the '::' some version of HP-UX thinks, this declares
@@ -498,5 +499,4 @@ void KPty::setUtf8Mode(bool useUtf8)
struct ::termios ttmode;
-#ifdef IUTF8
_tcgetattr(d->masterFd, &ttmode);
@@ -507,6 +507,6 @@ void KPty::setUtf8Mode(bool useUtf8)
_tcsetattr(d->masterFd, &ttmode);
-#endif
}
+#endif
}
--- kdelibs/kmdi/kmdi/dockcontainer.cpp #1.12:1.13
@@ -615,5 +615,5 @@ void DockContainer::toggle() {
m_tb->setTab(oldtab,false);
tabClicked(oldtab);
- KMDI::MainWindow *mainFrm = dynamic_cast<KMDI::MainWindow*>(m_mainWin);
+ // KMDI::MainWindow *mainFrm = dynamic_cast<KMDI::MainWindow*>(m_mainWin);
// if (mainFrm && mainFrm->activeWindow() ) // TODO
// mainFrm->activeWindow()->setFocus();
--- kdelibs/kresources/selectdialog.cpp #1.15:1.16
@@ -58,6 +58,6 @@ SelectDialog::SelectDialog( QPtrList<Res
buttonBox->addStretch();
- QPushButton* ok = buttonBox->addButton( KStdGuiItem::ok(), this, SLOT( accept() ) );
- QPushButton* cancel = buttonBox->addButton( KStdGuiItem::cancel(), this, SLOT( reject() ) );
+ buttonBox->addButton( KStdGuiItem::ok(), this, SLOT( accept() ) );
+ buttonBox->addButton( KStdGuiItem::cancel(), this, SLOT( reject() ) );
buttonBox->layout();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic