mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Added a forgotten Q_UNUSED statement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1550 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -622,6 +622,8 @@ MergeCellsCommand::~MergeCellsCommand() {
|
|||||||
@return true if the merge is feasible, false otherwise
|
@return true if the merge is feasible, false otherwise
|
||||||
*/
|
*/
|
||||||
bool MergeCellsCommand::canMerge(const TitleBlockTemplateCellsSet &merged_cells, TitleBlockTemplate *tbtemplate) {
|
bool MergeCellsCommand::canMerge(const TitleBlockTemplateCellsSet &merged_cells, TitleBlockTemplate *tbtemplate) {
|
||||||
|
Q_UNUSED(tbtemplate)
|
||||||
|
|
||||||
// basic checks
|
// basic checks
|
||||||
if (!merged_cells.isRectangle()) return(false);
|
if (!merged_cells.isRectangle()) return(false);
|
||||||
if (merged_cells.count() < 2) return(false);
|
if (merged_cells.count() < 2) return(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user