Skip to content

Commit 5993918

Browse files
committed
Remove unused code
1 parent e0f12ea commit 5993918

File tree

3 files changed

+1
-39
lines changed

3 files changed

+1
-39
lines changed

redis-desktop-manager/include/widgets/MainTabsWidget.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class MainTabsWidget : public QTabWidget
2020

2121
void closeTab(unsigned int index);
2222

23-
void closeAllServerTabs(RedisServerItem *);
24-
2523
void openKeyTab(RedisKeyItem * key, bool inNewTab = false);
2624

2725
protected:
@@ -33,7 +31,5 @@ class MainTabsWidget : public QTabWidget
3331
protected slots:
3432
void OnTabClose(int i);
3533
void OnKeyDeleted(QWidget * tab, RedisKeyItem * key);
36-
37-
3834
};
3935

redis-desktop-manager/source/widgets/MainTabsWidget.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,3 @@ void MainTabsWidget::OnTabClose(int index)
128128
{
129129
closeTab((unsigned int)index);
130130
}
131-
132-
void MainTabsWidget::closeAllServerTabs(RedisServerItem * server)
133-
{
134-
unsigned int tabsCount = count();
135-
136-
QString title;
137-
138-
for (int tabIndex = 0; tabIndex < tabsCount; tabIndex++)
139-
{
140-
title = widget(tabIndex)->windowTitle();
141-
142-
//if (title.contains))
143-
144-
145-
//todo implement this
146-
}
147-
}

redis-desktop-manager/source/widgets/qconsole.cpp

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
1-
/***************************************************************************
2-
qconsole.cpp - description
3-
-------------------
4-
begin : mar mar 15 2005
5-
copyright : (C) 2005 by Houssem BDIOUI
6-
7-
***************************************************************************/
8-
9-
// migrated to Qt4 by YoungTaek Oh. date: Nov 29, 2010
10-
11-
/***************************************************************************
12-
* *
13-
* This program is free software; you can redistribute it and/or modify *
14-
* it under the terms of the GNU General Public License as published by *
15-
* the Free Software Foundation; either version 2 of the License, or *
16-
* (at your option) any later version. *
17-
* *
18-
***************************************************************************/
1+
//QtConsole
192

203
#include "qconsole.h"
214
#include <QFile>

0 commit comments

Comments
 (0)