mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Fix compilation warning (clang and gcc)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -687,9 +687,9 @@ void QETTitleBlockTemplateEditor::updateEditorTitle() {
|
||||
void QETTitleBlockTemplateEditor::updateActions() {
|
||||
save_ -> setEnabled(!read_only_);
|
||||
|
||||
bool can_merge;
|
||||
bool can_split;
|
||||
int count;
|
||||
bool can_merge = true;
|
||||
bool can_split = true;
|
||||
int count = 0;
|
||||
if (!read_only_) {
|
||||
template_edition_area_view_ -> analyzeSelectedCells(&can_merge, &can_split, &count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user