mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 20:55:56 -04:00
* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
which part of the code the message came from and allows filtering of output using kdebugdialog * Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC. This ensures that the singleton destructors are called appropriately by KPart clients when they unload the libkonsolepart library. svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "ScreenWindow.h"
|
||||
|
||||
// Qt
|
||||
#include <QtCore/QDebug>
|
||||
#include <KDebug>
|
||||
|
||||
// Konsole
|
||||
#include "Screen.h"
|
||||
@@ -219,7 +219,7 @@ bool ScreenWindow::atEndOfOutput() const
|
||||
|
||||
void ScreenWindow::scrollTo( int line )
|
||||
{
|
||||
//qDebug() << "ScreenWindow scrolled to " << line << ":" << this;
|
||||
//kDebug() << "ScreenWindow scrolled to " << line << ":" << this;
|
||||
if ( line < 0 )
|
||||
line = 0;
|
||||
|
||||
@@ -251,7 +251,7 @@ bool ScreenWindow::trackOutput() const
|
||||
|
||||
int ScreenWindow::scrollCount() const
|
||||
{
|
||||
// qDebug() << "window returning scroll count of " << _scrollCount;
|
||||
// kDebug() << "window returning scroll count of " << _scrollCount;
|
||||
|
||||
return _scrollCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user