mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 02:35:41 +03:00
Remove tr for test app strings
This commit is contained in:
parent
16d36231bb
commit
2b8d2a5907
@ -41,11 +41,11 @@ void TestLog::initTestCase()
|
||||
{
|
||||
//Create LogView
|
||||
LogEntry *rootEntry = new LogEntry;
|
||||
rootEntry->addEntry(tr("Entry"), tr("Title"));
|
||||
rootEntry->addEntry("Entry", "Title");
|
||||
for (LogEntry::Kind kind : {LogEntry::File, LogEntry::Hint, LogEntry::Warning, LogEntry::Error})
|
||||
rootEntry->addEntry(kind, tr("Entry"));
|
||||
LogEntry *nestedEntry = rootEntry->addEntry(tr("Entry"), tr("Nested 1"));
|
||||
nestedEntry->addEntry(LogEntry::Entry, tr("Nested 2"))->addEntry(LogEntry::File, tr("Nested 3"))->addEntry(LogEntry::File, tr("Message"));
|
||||
rootEntry->addEntry(kind, "Entry");
|
||||
LogEntry *nestedEntry = rootEntry->addEntry("Entry", "Nested 1");
|
||||
nestedEntry->addEntry(LogEntry::Entry, "Nested 2")->addEntry(LogEntry::File, "Nested 3")->addEntry(LogEntry::File, "Message");
|
||||
|
||||
LogView *logView = new LogView(rootEntry);
|
||||
logView->expandAll();
|
||||
|
Loading…
Reference in New Issue
Block a user