Skip to content

Commit 4bf2387

Browse files
committed
Replaced main 'text' QLabel by a QTextEdit
We won't ever have that clipping out problem ever again :D Main thing left is to find out how to enable the word search feature as hasSelectedText() function in QLabel doesn't exist for QTextEdits...
1 parent f6099b9 commit 4bf2387

File tree

3 files changed

+866
-860
lines changed

3 files changed

+866
-860
lines changed

reader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ reader::reader(QWidget *parent) :
235235
}
236236

237237
// Word selection & dictionary lookup feature
238-
QString dictionary_position_str = QString::number(dictionary_position);
238+
/*QString dictionary_position_str = QString::number(dictionary_position);
239239
ui->definitionStatusLabel->setText(dictionary_position_str);
240240
QTimer *select_t = new QTimer(this);
241241
select_t->setInterval(100);
@@ -271,7 +271,7 @@ reader::reader(QWidget *parent) :
271271
;
272272
}
273273
} );
274-
select_t->start();
274+
select_t->start();*/
275275

276276
// We have to get the file's path
277277
if(global::reader::skipOpenDialog == true) {

0 commit comments

Comments
 (0)