[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/kexi-frameworks7-staniek] kexi: Kexi: const int makes no sense as an arg
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2015-06-30 20:24:26
Message-ID: E1ZA24w-0006Ps-Qa () scm ! kde ! org
[Download RAW message or body]
Git commit e2a83e4d3998a6da513587fe936a6c66e2c94cd2 by Jaroslaw Staniek.
Committed on 30/06/2015 at 20:16.
Pushed by staniek into branch 'kexi-frameworks7-staniek'.
Kexi: const int makes no sense as an arg
M +1 -1 kexi/main/KexiMainWindow_p.h
M +1 -1 kexi/migration/AlterSchemaTableModel.cpp
M +1 -1 kexi/migration/AlterSchemaTableModel.h
http://commits.kde.org/calligra/e2a83e4d3998a6da513587fe936a6c66e2c94cd2
diff --git a/kexi/main/KexiMainWindow_p.h b/kexi/main/KexiMainWindow_p.h
index d67b424..c372719 100644
--- a/kexi/main/KexiMainWindow_p.h
+++ b/kexi/main/KexiMainWindow_p.h
@@ -351,7 +351,7 @@ protected:
private:
int m_tabIndex;
- void setTabIndexFromContextMenu(const int clickedIndex);
+ void setTabIndexFromContextMenu(int clickedIndex);
};
//! @short A widget being main part of KexiMainWindow
diff --git a/kexi/migration/AlterSchemaTableModel.cpp \
b/kexi/migration/AlterSchemaTableModel.cpp index 57ed412..72f4a2f 100644
--- a/kexi/migration/AlterSchemaTableModel.cpp
+++ b/kexi/migration/AlterSchemaTableModel.cpp
@@ -107,7 +107,7 @@ void AlterSchemaTableModel::setData(const QList<KDbRecordData>& \
data) m_data = data;
}
-void AlterSchemaTableModel::setRowCount(const int i)
+void AlterSchemaTableModel::setRowCount(int i)
{
if (i != m_rowCount) {
m_rowCount = i;
diff --git a/kexi/migration/AlterSchemaTableModel.h \
b/kexi/migration/AlterSchemaTableModel.h index 964678f..c4c6472 100644
--- a/kexi/migration/AlterSchemaTableModel.h
+++ b/kexi/migration/AlterSchemaTableModel.h
@@ -39,7 +39,7 @@ class AlterSchemaTableModel : public QAbstractTableModel
void setSchema(KDbTableSchema*);
void setData(const QList<KDbRecordData>& data);
- void setRecordCount(const int i);
+ void setRecordCount(int i);
private:
//! Reimplemented just to avoid 'hidden' warnings
virtual bool setData(const QModelIndex & index, const QVariant & value, int \
role = Qt::EditRole) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic