Skip to content

Commit

Permalink
Delete obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
MahBoiDeveloper committed Mar 4, 2025
1 parent 24f1f1e commit 1ac9c99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/GUI/GreetingWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,3 @@ GreetingWindow::GreetingWindow(QWidget* parent) : QWidget(parent)
setLayout(ltMain);
}

/// @brief Calculate size of long description text block.
int GreetingWindow::GetGreetingTextAverageSize(const QString& text) const
{
QLabel lblSizeCounting(text);
lblSizeCounting.setWordWrap(true);
return (int)((lblSizeCounting.sizeHint().height() + lblSizeCounting.sizeHint().width()) / 2.);
}
2 changes: 0 additions & 2 deletions src/GUI/GreetingWindow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ class GreetingWindow : public QWidget
Q_OBJECT
public: // Methods
GreetingWindow(QWidget* parent = nullptr);
private:
int GetGreetingTextAverageSize(const QString& text) const;

signals:
void btnLoadFromFileClicked();
Expand Down

0 comments on commit 1ac9c99

Please sign in to comment.