Remove some warnings
This commit is contained in:
@@ -149,7 +149,7 @@ void GridAccount::SetWeek(int week, int line) {
|
||||
}
|
||||
}
|
||||
|
||||
Operation& GridAccount::GetOperation(int id) throw (OperationNotFound)
|
||||
Operation& GridAccount::GetOperation(int id) /*throw (OperationNotFound)*/
|
||||
{
|
||||
std::vector<Operation>::iterator it = std::find(_operations->begin(), _operations->end(), id);
|
||||
|
||||
@@ -173,7 +173,7 @@ void GridAccount::UpdateOperation(Operation& op)
|
||||
}
|
||||
}
|
||||
|
||||
int GridAccount::GetDisplayedRow(int id) throw (OperationNotFound)
|
||||
int GridAccount::GetDisplayedRow(int id) /*throw (OperationNotFound)*/
|
||||
{
|
||||
std::vector<Operation>::iterator it = std::find(_displayedOperations.begin(), _displayedOperations.end(), id);
|
||||
|
||||
@@ -560,7 +560,7 @@ void GridAccount::InsertOperation(User* user, Operation& op, int line, bool fix,
|
||||
_inModification = false;
|
||||
}
|
||||
|
||||
void GridAccount::DeleteOperation(const Operation& op) throw (OperationNotFound)
|
||||
void GridAccount::DeleteOperation(const Operation& op) /*throw (OperationNotFound)*/
|
||||
{
|
||||
std::vector<Operation>::iterator it = std::find(_operations->begin(), _operations->end(), op.id);
|
||||
std::vector<int>::iterator it2;
|
||||
|
||||
@@ -96,16 +96,16 @@ private:
|
||||
bool IsMetaOpened(int id);
|
||||
void OpenMeta(const Operation& meta);
|
||||
int InsertIntoGrid(Operation& op);
|
||||
void DeleteOperation(const Operation& op) throw (OperationNotFound);
|
||||
void DeleteOperation(const Operation& op) /*throw (OperationNotFound)*/;
|
||||
void RemoveRow(const Operation& op, int line, bool deleteOp);
|
||||
void CheckOperation(Operation& op, int line, bool check, bool force);
|
||||
void UpdateMeta(Operation& op);
|
||||
int RemoveMeta(Operation op, int line, bool removeRoot, bool deleteOp);
|
||||
void CheckMeta(Operation& op, int line, bool check);
|
||||
|
||||
Operation& GetOperation(int id) throw(OperationNotFound);
|
||||
Operation& GetOperation(int id) /*throw(OperationNotFound)*/;
|
||||
void UpdateOperation(Operation& op);
|
||||
int GetDisplayedRow(int id) throw (OperationNotFound);
|
||||
int GetDisplayedRow(int id) /*throw (OperationNotFound)*/;
|
||||
|
||||
void InsertCenteredWidget(int line, int column, QWidget* widget, int margins=3);
|
||||
QWidget* GetCenteredWidget(int line, int column);
|
||||
|
||||
Reference in New Issue
Block a user