Commit 27e7edae authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

remove blank lines

parent dd440409
......@@ -193,7 +193,6 @@ inline ColorEntry::FontWeight Character::fontWeight(const ColorEntry* base) cons
else
return ColorEntry::UseCurrentFormat;
}
}
Q_DECLARE_TYPEINFO(Konsole::Character, Q_MOVABLE_TYPE);
......
......@@ -92,7 +92,6 @@ bool ShellCommand::isValidEnvCharacter(const QChar& ch)
{
const ushort code = ch.unicode();
return isValidLeadingEnvCharacter(ch) || ('0' <= code && code <= '9');
}
bool ShellCommand::isValidLeadingEnvCharacter(const QChar& ch)
......@@ -117,7 +116,6 @@ bool ShellCommand::expandEnv(QString& text)
// find and expand all environment variables beginning with '$'
while ((dollarPos = text.indexOf(dollarChar, dollarPos)) != -1) {
// if '$' is the last character, there is no way of expanding
if (dollarPos == text.length() -1 ) {
break;
......
......@@ -90,7 +90,6 @@ public:
static bool isValidLeadingEnvCharacter(const QChar& ch);
private:
static bool expandEnv(QString& text);
QStringList _arguments;
......
......@@ -49,7 +49,6 @@ ViewContainerTabBar::ViewContainerTabBar(QWidget* parent)
setWhatsThis(i18nc("@info:whatsthis",
"<title>Tab Bar</title>"
"<para>The tab bar allows you to switch and move tabs. You can double-click a tab to change its name.</para>"));
}
void ViewContainerTabBar::dragEnterEvent(QDragEnterEvent* event)
......
......@@ -29,13 +29,11 @@ class QLabel;
namespace Konsole
{
class ViewContainerTabBar : public KTabBar
{
Q_OBJECT
public:
ViewContainerTabBar(QWidget* parent);
// returns a pixmap image of a tab for use with QDrag
......@@ -45,20 +43,17 @@ public:
void setSupportedMimeType(const QString& mimeType);
signals:
void querySourceIndex(const QDropEvent* event, int& sourceIndex) const;
void moveViewRequest(int index, const QDropEvent* event, bool& success);
protected:
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
virtual void dragMoveEvent(QDragMoveEvent* event);
virtual void dropEvent(QDropEvent* event);
private:
// show the indicator arrow which shows where a dropped tab will
// be inserted at 'index'
void setDropIndicator(int index, bool drawDisabled = false);
......@@ -76,7 +71,6 @@ private:
bool _drawIndicatorDisabled;
QString _supportedMimeType;
};
}
#endif // VIEWCONTAINERTABBAR_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment