diff options
| author | 2007-03-05 20:33:24 +0000 | |
|---|---|---|
| committer | 2007-03-05 20:33:24 +0000 | |
| commit | d055507c6bb392037c71b2d6de989e0f1bc4bb48 (patch) | |
| tree | 5a7f3589e077ab13bb3ee1908c207eead4ab426f /src | |
| parent | filesysyem icons (diff) | |
| download | KVIrc-d055507c6bb392037c71b2d6de989e0f1bc4bb48.tar.gz KVIrc-d055507c6bb392037c71b2d6de989e0f1bc4bb48.tar.bz2 KVIrc-d055507c6bb392037c71b2d6de989e0f1bc4bb48.zip | |
compile fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@409 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_channel.cpp | 2 | ||||
| -rw-r--r-- | src/kvirc/ui/kvi_console.cpp | 2 | ||||
| -rw-r--r-- | src/kvirc/ui/kvi_ircview.h | 3 | ||||
| -rw-r--r-- | src/kvirc/ui/kvi_query.cpp | 4 | ||||
| -rw-r--r-- | src/kvirc/ui/kvi_window.cpp | 2 | ||||
| -rw-r--r-- | src/modules/dcc/chat.cpp | 2 |
6 files changed, 7 insertions, 8 deletions
diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp index 139966cc1..61683045a 100644 --- a/src/kvirc/ui/kvi_channel.cpp +++ b/src/kvirc/ui/kvi_channel.cpp @@ -634,7 +634,7 @@ void KviChannel::setAliveChan() context()->unregisterDeadChannel(this); connection()->registerChannel(this); // Update log file name - if(m_pIrcView->isLogging())m_pIrcView->startLogging(0); + if(m_pIrcView->isLogging())m_pIrcView->startLogging(); updateIcon(); updateCaption(); m_pTopicWidget->reset(); // reset the topic (fixes bug #20 signaled by Klaus Weidenbach) diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp index a03ee5dd3..801400345 100644 --- a/src/kvirc/ui/kvi_console.cpp +++ b/src/kvirc/ui/kvi_console.cpp @@ -154,7 +154,7 @@ KviConsole::KviConsole(KviFrame * lpFrm,int iFlags) m_pInput = new KviInput(this,m_pNotifyListView); - if(KVI_OPTION_BOOL(KviOption_boolAutoLogConsole))m_pIrcView->startLogging(0); + if(KVI_OPTION_BOOL(KviOption_boolAutoLogConsole))m_pIrcView->startLogging(); } diff --git a/src/kvirc/ui/kvi_ircview.h b/src/kvirc/ui/kvi_ircview.h index aa1f08abc..8f812df7e 100644 --- a/src/kvirc/ui/kvi_ircview.h +++ b/src/kvirc/ui/kvi_ircview.h @@ -64,7 +64,7 @@ public: public: int dummyRead() const { return 0; }; private: - QDate m_lastLogDay; +// QDate m_lastLogDay; int m_iFlushTimer; KviIrcViewLine * m_pFirstLine; KviIrcViewLine * m_pCurLine; // Bottom line in the view @@ -167,7 +167,6 @@ public: //============================================================================================== // Logging // Stops previous logging session too... - bool startLogging(bool bPrependCurBuffer = false); bool startLogging(const QString& fname = QString::null,bool bPrependCurBuffer = false); void stopLogging(); bool isLogging(){ return (m_pLogFile != 0); }; diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp index 5484e54b9..7f0b8e744 100644 --- a/src/kvirc/ui/kvi_query.cpp +++ b/src/kvirc/ui/kvi_query.cpp @@ -107,7 +107,7 @@ KviQuery::KviQuery(KviFrame * lpFrm,KviConsole * lpConsole,const QString &nick) m_pInput = new KviInput(this,m_pUserListView); - if(KVI_OPTION_BOOL(KviOption_boolAutoLogQueries)) m_pIrcView->startLogging(0); + if(KVI_OPTION_BOOL(KviOption_boolAutoLogQueries)) m_pIrcView->startLogging(); // FIXME: #warning "Maybe tell the user all that we know about the remote end(s)....channels..." m_pIrcView->enableDnd(TRUE); @@ -540,7 +540,7 @@ void KviQuery::setAliveQuery() context()->unregisterDeadQuery(this); connection()->registerQuery(this); // Update log file name - if(m_pIrcView->isLogging()) m_pIrcView->startLogging(0); + if(m_pIrcView->isLogging()) m_pIrcView->startLogging(); updateIcon(); updateCaption(); updateLabelText(); diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp index 15cc8b1b6..ac1ad3664 100644 --- a/src/kvirc/ui/kvi_window.cpp +++ b/src/kvirc/ui/kvi_window.cpp @@ -661,7 +661,7 @@ void KviWindow::loadProperties(KviConfig *cfg) { QString szTmp; getBaseLogFileName(szTmp); - m_pIrcView->startLogging(0); + m_pIrcView->startLogging(); } }*/ } diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp index f096ecc71..a0cb686ba 100644 --- a/src/modules/dcc/chat.cpp +++ b/src/modules/dcc/chat.cpp @@ -107,7 +107,7 @@ KviDccChat::KviDccChat(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name) m_pSlaveThread = 0; - if(KVI_OPTION_BOOL(KviOption_boolAutoLogDccChat))m_pIrcView->startLogging(0); + if(KVI_OPTION_BOOL(KviOption_boolAutoLogDccChat))m_pIrcView->startLogging(); m_pMarshal = new KviDccMarshal(this); connect(m_pMarshal,SIGNAL(error(int)),this,SLOT(handleMarshalError(int))); |
