Remove unused accessor

This commit is contained in:
Jekyll Wu
2012-03-04 04:54:38 +08:00
parent 2dd8024621
commit cc1b3a482b
2 changed files with 1 additions and 9 deletions

View File

@@ -216,10 +216,7 @@ void Session::setDarkBackground(bool darkBackground)
{
_hasDarkBackground = darkBackground;
}
bool Session::hasDarkBackground() const
{
return _hasDarkBackground;
}
bool Session::isRunning() const
{
return _shellProcess && (_shellProcess->state() == QProcess::Running);

View File

@@ -317,11 +317,6 @@ public:
* This has no effect once the session is running.
*/
void setDarkBackground(bool darkBackground);
/**
* Returns true if the session has a dark background.
* See setDarkBackground()
*/
bool hasDarkBackground() const;
/**
* Attempts to get the shell program to redraw the current display area.